Adds a csrftoken to all ajax requests in Sunstone

(cherry picked from commit d549678afb64bb7a87ac007884b50ac1d9cc12d1)
Better xml sanitization

(cherry picked from commit 151bd2b3c878b8b7297742afa67062456216e888)

Conflicts:
	src/vnm/VirtualNetwork.cc
csrf-fix: Redo parsers

(cherry picked from commit abf2ad50929988e18fae4b146fcd22f32baecd76)
cosmetic improvements for the csrftoken ajax fix

(cherry picked from commit 7e539e03a26c476ecb7b9a91d8e4195bf5d6d37e)
csrf-fix: Improve parsing, corner cases

(cherry picked from commit 5818b8ea40a1fd40c3bc976775c42d1ff4ab9809)
(cherry picked from commit d27957b75ec5fb420d66a03207f098049b5ce02c)
csrf-fix: Regenerate parsers with flex 2.5.39

(cherry picked from commit 430b81e87b39006c6790de132c141fe486f4b7f1)
csrf-fix: parser to find closing cdata

(cherry picked from commit 4b0bf663e5f00f3b038e644947756fa26753e2bf)
Bug #2984: Add a csrftoken to the upload ajax call

(cherry picked from commit 09524280270cd160410bc035dac6eab6c932e884)
(cherry picked from commit 87f1459eaf386e67522be2e1d50fe85ed4874110)