Fixing Google Analytics for non admin users.

Adding a public endpoint to get the google analytics tracking id and using
that endpoint instead of the settings endpoint.
Adding tests and accounting for null case.
Merge pull request #512 from girder/fix-google-analytics

Fixing Google Analytics for non admin users.