move size calculation into riak_object and account for v1 metadata
general cleanup of riak_object module

* move sorting of vnode entries into hash/1
* replace edoc specs with module attribute specs
* move some things around
use riak_object:to_binary/1 in yessir backend
fix some minor details caught by dialyzer