Configurable adapter

Fixes issue with double indexing and adds search adapter functional tests.
Hmm. We should really upgrade the autoloading in the Jackalope tests.