Refactor H1DSUri javascript

H1DSUri now  stores the base  uri query string elements  separate from
extra query  string elements. That is,  the base URI is  that which is
shown in the  browser window and identifies the  resource, extra query
strings are only for the visual display - e.g. resampling.