add support for pushstate

* add an htaccess file
* load files from the root
* modify the router
* use router navigation instead of location hacks