Added HTML5 Pushstate support

When developing SPA's with for example Angular I find it nice to have clean HTML5 urls that can be refreshed. So I added that in as an option.