Fixed assumption page is root.

Moved the js to the end of the page to speed up rendering too.
Removed '#' href from links.

This was causing a push state action on the page history. Fixed this for incoming history manipulation.
Added history.js
Added 'dir' url handler.
History state work for folders.
Merge pull request #8 from EdShaw/dirHistory

Dir history