Use SQL for db schema dump

* View doesn't appear in `db/schema.rb` because AR doesn't understand views
* Specify `:sql` in appliation config
* Dump schema to `db/structure.rb` and remove old `db/schema.rb`