update protobuf version to latest (2.5.0).
add parseFrom() methods to the generated object, to mirror static methods created by protobuf.
fix tests for added "parseFrom" methods.
if an error occurs during compilation, exit with an error code, so external tools will know.
Merge pull request #56 from robey/parsefrom

add "parseFrom" and exit(1) on error