Use postgres

* Use postgres in prod
* Add 12factor gem to fix assets in prod
* Fix comparison error in session controller specific to pg