Moves to cookies isntead of sessions. Fixes some stuff I left out when moving to coffeescript. Starts work on the new reports pages.