Mapfishapp - indenting XML documents before save

This aims to save documents properly indented in db, for better
readability (assuming XML is sufficiently human-readable ...). This
shall make the debugging easier, when trying to read returned WMC.

Feedback welcome (poke @fvanderbiest) ; I think it is a good move to
also have an implicit XML validation server-side.