Fix location object via devote/HTML5-History-API

Use location object from `history.location` first to support IE8. Fixes
incorrect initial state obtained from the hash-fragment.