Makes the sindex unittest harder.
Remove premature changes to keyvalue_location_t.

They may be unneeded altogether.
Punches through token pairs for use by the protocol.

This is a necessary step for being able to access the secondary indexes
from within the protocol operations.
Finishes adding metainfo to sindexes.
Adds in metainfo for secondary indexes.
Adds sindex creation and deletion to the rdb protocol.
An in theory barebones but working version of rdb sindexes.
Make rdb_protocol unittest work.

Fixes some bit rot that prevented the test from even running. It now
runs and fails. Yeash.
Fixes the rdb_protcol unit test.

All other unit tests pass as well.
Adds a unittest for sindex create and delete.
Renames sindex_delete to sindex_drop.
Actually insert data and sindex it.

Makes the sindex in the unittest actually be a really one that does
something interesting and insert data. It gets indexed as expected.
Adds sindex gets to rdb protocol.

Also switches around the btree store api.
Adds secondary index gets to the rdb_protocol.

Also adds them to the unittest.
Fixes a deadlock in the rdb_protocol.

Also fixes secondary index reads.
Extends the rdb protocol to include a delete of the indexed key.
In theory adds sindexes to the protocol language.

You can now (again in theory) create and drop sindexes. As well as
querying them with gets.
Adds sindex create to javascript driver.

It actually works and successfully creates a secondary index.  This
commit also includes some debugging of the javascript code to make
things work.
Adds secondary index reads in.

Fixes a bug that caused secondary index reads to actually crash when it
tried to execute a normal read instead.
Fix a bug with stats having the same name.

This caused the server to crash. The stats were in the btree they are
now replaced with:

"btree-primary" which is the equivalent of the old "btree"
"btree-[uuid]" of which there is one per sindex.