Add google analytics tracking code

Refs #16
Link to Google Scholar
URL encode the whole URL
Move Google Scholar search after form submission

18a70fecc9 introduces a very neat idea. This is just a cut/paste to move
the functionality until after the form is submitted.
ignore script elements
Add a new layout for sidebar templates, and rejig
Reduces whitespace at top of sidebar.

Hopefully fixes #41
Add .DS_Store to the gitignore
Add github’s node.js gitignore
Rejig where the views live a bit.

I’ve removed the views/Event directory, and instead moved all of the
Event-related views to views/. I suspect this might be a bit of
a controversial change…!
Remember the user's details
Hide/disable remembering as default, unless available
Ensure DOM is fully loaded before invoking jquery
Clean up the javascript
Fetch metadata from CrossRef
Reduce rows in textarea (just for appearance)
Look up DOI in PubMed Central
Couple of tweaks from js lint
Fix bug introduced by me in c9160f8e94 :\

Thanks, @hubgit!