C++11

Code optimized for C++11. Boost removed. Many integer types changed to
size_t and uint32_t.