Added options to fix #490. Now you can use a connection string (i.e. Heroku) and options can be passed as second parameter.
Merge pull request #622 from jechenique/master

Added options when using connection string