adding rspec test enviroment

installed rspecenviroment for tests, updated gemfile in order to hold
pg gem also in development and test enviroment