Update index hook function

The index hook now takes the partition number as 3rd argument rather
than entire KV VNode state.
Add cuttlefish schema for building app.config

This schema file is used to map cuttlefish style config files to
Erlang's application environment.
Merge develop
Merge pull request #166 from basho/refactor/rz/integrate-with-master

Integrate with develop branch