Lay out initial implementation for synchronization

This is the first steps towards establishing the synchronization
functionality. I had to add some utility functions. With this I
also added some data harvesting corrections for the Moers harvester.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
Make report for schema validation deployable

With this commit reports for schema validation are generated into the
configured output directory. Also the command has been improved using
the CKAN API directly instead of going through the HTTP interface.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>