THRIFT-1639 Java/Python: Serialization/Deserialization of double type using CompactProtocol

Patch: Patrick Lawson
THRIFT-2216 cocoa: Extraneous semicolon in TProtocolUtil.h makes clang mad
Patch: Andrew McGeachie