BO generation

Added schema types for metadata and BO.
Implemented BO generation with XML output.
Improved error reporting for PdmProcessor.