fix for #330
Merge pull request #332 from coldnebo/master

prevent downstream nil exception when view_definition is nil.
Revert "prevent downstream nil exception when view_definition is nil."
Merge pull request #353 from rails-sqlserver/revert-332-master

Revert "prevent downstream nil exception when view_definition is nil."
Add database tasks for Rails 4.1