Build-tested on x86_64 Linux & Mac.
Also split out gmock's source so that it can be copied into protobuf's source. Hopefull this hack can be removed again once gmock is replaced by gtest. This does not include python bindings.