Moved Analytics code to <head> section

For best performance it is recommended to have the Google Analytics tracking code in the <head> section.
(https://support.google.com/analytics/bin/answer.py?hl=en&utm_id=ad&answer=1008080)