Added support for postgresql database
Updated Gemfile to decide which database driver to install