change startPath from window.location.pathname to window.location.href

to handle pages w/ query params

re: https://github.com/01org/appframework/issues/312