Renamed _url2state to getAllFromUrl, made public

Move default value (window.location.search) to getAllFromUrl