Move hack where SIZE_MAX is defined to dedicated header.

  * Header is now included where needed.
Replace calls to obsolete method in parser.

  * The metehod CkprParserManager::addXMLInheritedBuilderMethod is
    obsolete.