Fixes #257 - History inappropriately decodes URL causing javascript errors

See issue #257
https://github.com/balupton/history.js/issues/257