Adds Google Analytics demographics tracking code

Google analytics requires a change to the tracking code to enable
demographics tracking.

Also moves the scripts for tracking codes out in to partials so that we
can easily render them only in the production env.