moved some schema bits in from riak.schema
Merge pull request #727 from basho/jd-schema-cleanup

moved some schema bits in from riak.schema