added ProtoFactory utility class
Merge branch 'riak' of https://github.com/vandurme/rebar into riak