Implement Google Analytics

We should implement Google Analytics into the UI so that we can measure user activity.

Ideally, we should send data for every action that the user undertakes. From logging in to browsing the tripos to logging out.
A really minor thingy: I prefer having these blocks ordered alphabetically as well. I would put this 'GA' block between 'Calendar' and 'General' `</rant>` :v: