Moves logic out of the Default UI and into the underlying JS API
Makes it available for users beyond the Default UI, and also fixes some issues with the previous string handling of the URL when combining this feature and subresults, or existing query parameters
Changes query parameters to opt-in rather than opt-out to eliminate the breaking change to URLs
Follow on from #425