Rails 4

Made some quick changes to support Rails 4; notably fixed Cookies::CookieOverflow error, added bootstrap and updated routes.