Moved riak_api bits of riak.schema, and added unit tests

Requires https://github.com/basho/cuttlefish/pull/43 to work, so make sure you point your deps/cuttlefish at jd-test-tools. Please review both PRs together. 

Here you'll find all the api bits of the schema, and a unit test that validates them.