update rails

- change dev db to postgres
several gem updates

- overall layout changes