Fixing issue w/ imgeMode, introducing outputformat

TODO: wire the interface / outputformat tab correctly
Better handling of OGC metadatas table
Merge remote-tracking branch 'upstream/master'