Added Postgres to production gems.
put sqllite gem in development mode.
Fixed syntax error in sessions controler.