Check if connection responds to #supports_extensions?

Just added a check if ```@connection``` responds to ```supports_extensions?``` before calling it. This prevents errors if you have ```postgres_ext``` in your ```Gemfile``` but you're still using another database (e.g. SQLite3 in our case).