Added a new base class for message operations in order to support include_* and pagination parameters.
Added some headers that were missing in the core header and the build.