Extract out parsing proto file logic from ProtobufGen

This should be renamed to ProtobufParseTest