THRIFT-2280 TJSONProtocol.Flush() does not really flush the transport

Patch: Jens Geyer
THRIFT-2281 Generated send/recv code ignores errors returned by the underlying protocol

Patch: Jens Geyer
THRIFT-2282 Incorect code generated for some typedefs

Patch: Jens Geyer
THRIFT-2274 java: TNonblockingServer and TThreadedSelectorServer do not close their channel selectors on exit and leak file descriptors
Patch:  Thomas Kielbus