Extract out parsing proto file logic from ProtobufGen

remove from pydoc - it's not in the parameter list any more.