Register looked-up adapters/accessors in their own right

DataAccessor and InstanceAdapter classes are looked up for derived types
by inspecting the type's ancestors and searching for registered adapters
up the chain.

When loading a large number of facets this causes the lookup to be
invoked many times with the same arguments. By registering the located
adapter or accessor with the derived type, this is avoided for all calls
but the first.
Test that adapters found by ancestor lookup are registered.
Added support for empty arrays in restrictions.

This allows your timid code to go from looking like this
  with(:my_field, some_values) if some_values.present?
to become confident code like this
  with(:my_field, some_values)
Test adapter/accessor memoization using state checks
Clearer method naming in adapter lookup
Search all ancestors in adapter lookup
Update the Rakefile to run the tests for the current versions of Rails that we're testing against.
Sunspot 2.0.0.pre is now 2.0.0
Made empty array trigger a query equivalent to a no-op. Added documentation about the behaviour.
Merge pull request #334 from culturecode/empty-array-support

Added support for empty arrays in restrictions.
Update README.md

Fixed cut and paste error that was merged before it was fixed.
Merge pull request #322 from urbanautomaton/register-looked-up-adapters

Register looked-up adapters/accessors for later access
Merge remote-tracking branch 'fizx/solr4' into solr4

Conflicts:
	sunspot/lib/sunspot/version.rb
Use per-environment cores, and a default, with shared instanceDir and separate dataDir
Update Gemfiles to the latest Bundler requirements
Correctly prepare the Solr installation in an app for multicore
Update to Solr 4.2.0