switch sqlite to pg, add unicorn and rails 12 factor