added google analytics tracking code to base template

closes #77
added google analytics

also cleaned up db search results download logic (no more form submission via
javascript, just straight links)

closes #77
closes #40