Refactor mapfileparser

- Adding extra member variables to ensure bridging plain mapserver mapObj object and the Qt representation of the mapfile (MapfileParser).

- Fixing mismatch with config options vs map metadatas

- Several fixes around Outputformat lifecycle (create / delete / update ...)

Still far from perfect, but seems stable enough to be merged.