libmodutils: #include <memory> is needed in the headers.

The headers use std::shared_ptr<>, so the include is needed there.

Other changes:
- Use ULL suffix for uint64_t constants.
- Use pre-C++11 syntax for nested templates.