Fixed some warnings.
Introduced new base class for parsers based on Digester.