Add `connection.supports_views?`

Refer https://github.com/rails/rails/commit/ae9412e857a78236b359eb1b636511d07fe45cf3
Merge pull request #496 from yahonda/rails42_supports_views

Rails 4.2 Add `connection.supports_views?`