removed boost dependency, removed resource_pool, fixed include order and pep8 for test lib, removed static endianness check and added non static one