some rules and styles to ease usability
Added basic permalink functionality using pushState, with anonymous gists as persistence. No graceful error handling yet.