Localized primary and secondary indices.

This commit expands support for indexing data on each machine.  Through the
primary_index and secondary_index keywords, user can instruct HyperDex to add
indices on structures that are not used for subspace attributes.

For example, the following space indexes the elements of a set:

    space kv key k attribute map(string, string) v primary_index v.