Fix the teams signups path
Move analytics to shared layout

And move the rest of the header into application.html.haml
Move footer into application.html.haml
Move all javascript to bottom of page

...using content_for blocks.