Redesigning the index access method (broken)

This makes it more clean. Will be ported back into riakkit as well.
Currently still broken. Will fix tomorrow.. ish
Rewrote test for new index behaviour
More broken code added...

The code currently fails. Something in the save process is not working.
Will figure that out tomorrow.
Made indexes work.

Still got some work to do before mergin
Batch test is done!
Merge pull request #1 from shuhaowu/index-redesign

Redesigning the index access method