Upgrade rebar;use gpb rather than basho protobuffs

Also added gpb's really fancy rebar compile hooks so I don't need to commit the
code generated from compiling the *proto files.