Added byte order detection (again straight out of redis).
Added custom allocator example for reference.
Yay! C++ 11 has a var equivalent.
Improved readability.
Added the CRC functions from redis and moved things around a little.