Get rid of unused method on test helper
Also return enforce_available_locales to the default nil

Since all other defaults are being reverted to the default, do that with
enforce_available_locales too.
Simplify store translations helper which does not make use of default args
Use store translations helper in some tests
Stop messing up with the global namespace

Create helper methods in namespaces we own.
Update dependencies with: rake/mocha/test_declarative

Add rake to default Gemfile since it's a necessary dependency to run
tests.
Add Ruby 2.1.1 to travis
Allow failures of some rubies and gemfiles for faster feedback
Add specific script/install to travis as an attempt to fix 1.8.7 build failure

https://github.com/travis-ci/travis-ci/issues/2253
Update dependencies of rails Gemfiles
Try to install tokyo cabinet ruby bindings on travis
Try to downgrade AS versions for now since latest ones seem to break lots of tests

Due to the addition of OkJson as the default JSON backend, lots of tests
are breaking, so this is a test to see if we can get to green before
any other change.
Do not run tests with Rails 2.3.x and Ruby 2.x / RBX / JRuby

And reenable Rails 2.3 and 3.0 tests, they should be green now.
Get rid of useless sqlite3 dependency on Rails gemfiles
Revert "Add specific script/install to travis as an attempt to fix 1.8.7 build failure"

This reverts commit a345d4e0cd62020c1893f720ba743efcee2af50b.

Conflicts:
	.travis.yml

Reason: travis Ruby build has been updated with a fix for 1.8.7 + rake.
https://github.com/travis-ci/travis-ci/issues/2253#issuecomment-42264423
No need to require mocha/test_unit with mocha/setup
Bump Rails 2.3/3.0 versions to latest and use Yajl as JSON backend

The Rails implementation that uses OkJson simply fails the key value
tests we have, whereas Yajl seems to work fine.

I'll leave Yajl for now to have the tests passing on latest 2.3/3.0
versions, and we can get rid of all this after removing support for
older Rails versions.
Add Rails 3.1, 3.2, 4.0 and 4.1 gemfiles
Remove Ruby 1.9.2 from travis

I seriously hope no one is using this version in production.
Merge branch 'test-suite'