Fix issues with sessions. Moved prototype-snippet.js and rails.js to assets/javascripts