Update to postgres database for development and test environments.
Put back in rspec which was accidentally removed.
Added sport and guard for faster testing and automatic checking for test.