Set standard to C++11.
Fixed issues with compiling on 10.9 with clang
Check against nullptr in bool operator.
Use PRIu64 for printf to work on different platforms.
Use namespace for LevelDB.