Added basic pushstate support
Merge branch 'master' into gh-pages