Fixed some issues discovered when building java API example program
Got RangeServer::heapcheck() to dump heap stats with tcmalloc_minimal
Fixed some issues discovered when building PHP API example program
Added methods to support printing ThriftGen::Key and ThriftGen::Cell ruby classes