Add necessary features for bucket types test.

* Bucket types are supported in KV ops, 2I, and MapReduce.
* Resetting bucket properties is now supported.
* Delete will now use the vclock when called as rhc:delete_obj().
* 2I is supported with all options.
* Usermeta and index metadata are properly marshalled.
* The generated URLs now use the post-1.0 scheme.
Review bugfixes.

* Don't send 2i results to the receiver if there aren't any.
* Fix path generation for integer indexes in range queries.
Fix copyright.
Fix the ordering of accumulated results.
Switch back to prepend and use foldl instead.
Add documentation for new functions.
Merge pull request #24 from basho/feature/sdc-bucket-types

Add necessary features for bucket types test.