made std::__throw_bad_alloc portable to osx
suppress clang warnings about __toku_db_lsn's size
fixed shadow warnings and typos
removed unused functions from tokudb_dump
fixed ftcxx linking on osx
fixed malloc(0) on osx

apparently on osx, malloc(0) returns something not fit to pass to free()

this was causing crashes when allocating zero-length buffers