migration removes some :limits
fix typo in fix of assert_block
model tests again run fine
fix final Deprecation Warning about query syntax
fixed typos causing regression of query related issues
Don't know how the regression happened.  Perhaps result of rebuild of vagrant box, repo.
fix bug in test_edit_prefs
(location_format is stored as a symbol)
Make assert_response_equal_file work again
(Also require cvs in ApplicationController rather than individual controllers.)

Assertion modified because ActionDispatch::Response#body behaves differently in Rails 4 than Rails 3.
In Rails 3, if I used cvs to generate a string, and then sent it to a file, response.body would return the raw string.
In Rails 4, response.body strips `\n` used to separate rows.
So in order to get the `\n`s back, I join the body_parts with `\n`.
Ugly, but nothing better occurs to me.
fix assert_template problems

  * change incorrect syntax
  * change to assert_redirected_to where that was intended
fix Errors & Failures when running ajax_controller_test

  * changes due to difference in Rails 4 @response.body
  * some style changes to improve readability,
see [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide)
  * miscellaneous other fixes
all Errors & Failures fixed in api_controller_test
  * also some style changes to improve readability,
see [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide)
fix all Error & Failures caused by account_controller_test

* fix failure to create new API key
* allow mass assignment of any API key
* improve test error message for failure to create API key
  * strip html from error message
* fix failure to create new user
  * permit mass assignment of new_user selected attributes
* change to `assert_redirected_to` or remove incorrect keys
* some style changes to improve readability,
see [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide)
* miscellaneous other fixes