MapfileParser Refactor

Begin to create member variables instead of autogenerated variables read
from the mapfile at each call.
mapfileparser refactoring

OutputFormat related refactoring
Fixing double-free
mapfileparser refactoring - WIP

Well, it compiles, but I'm not sure to be in a good path ... I can now
reproduce the bug with the mixed config options / web metadatas.

More to come later on.
mapfileparser - fixing shapepath
mainwindow - wiring up QUndoStack with QActions
Debugging session

Still some mismatch / leg work to achieve with memory mgmt. e.g. Output
formats are not stable yet.

- added a copy constructor for OutputFormat class (which actually might
  do the same as the one autogenerated by the compiler ? Not sure for
  the QHash duplication though)

- Copying the OF when creating a command related to the outputformats
  alteration

TODO: The app still crashes when fiddling around with OutputFormats.
Let's investigate on this.
QUndo - Adding command to set config options
mapsettings - Map config options (instead of metadatas)
outputformats - live debugging segfaults
Merge pull request #17 from QMapfileEditor/refactor-mapfileparser

Refactor mapfileparser