Fixes required for basel

A selection of changes needed for basel landschaft:

* Add MapContext to output CreateMapProcessor object so that data like scale and bounds can be accessed in the jasper template
* ImageIO.read will return null if input is not an image. Added checks to make sure that an image is correctly returned and if not then the correct response is made
* Make image resolver use the http client factory that is put in the values object. This allows it to load from config directory
* table processor will output the number of rows in the table. this allows the number or rows to be accessed in jasper reports.
* Remove main object from spring configuration because it is in another spring config file.