Marked self-allocating Buffer and Container constructors explicit
* this was done to prevent accidental buffer allocation and to force the user to explicitly instantiate Buffers and Containers
* added cassert header to CustomSerializable template as the definition of assert is required by its constructor