run tests in rails3 mode since thats what in prod

right now
added segment.io anayltics

thought about making the key an env variable but youd be able to see it
in the code of pages in the site anyway so... why? lol
update sentry raven to tag environment

also hopefully work in test mode