Prevent rewriting # with document query params

All urls will use baseUrl to setup a "clean" URL object
Fixes #110 Don't bleed document search param into hash-only links
remove debugger statement
Merge branch 'master' into wc