Bump test site rails version to 3.2.11
Add a Gemfile for test site for easier bootstrapping, but don't use it when testing

Upgrade to Rails 3.2.12 while here.
Make test site work with both Rails 3 (on ruby 1.8.7) and Rails 4 (on ruby 1.9+)
Fix some Rails 4 deprecation warnings due to test site configuration
Use the new ActiveRecord 3+ query interface

Rails 4 has deprecated the old interface.  This mostly copies the
Sequel code.  Since SQL parsing is supported but now deprecated,
and Rails is going to require a separate references call to get
Sequel's eager_graph behavior, add a scaffold_use_references
method to ActiveRecord similar to scaffold_use_eager_graph for
Sequel.

Merging conditions into a single SQL string is no longer necessary,
so remove scaffold_merge_conditions from the ActiveRecord adapter.
Bump version to 1.6.1