Cleaned up FormatGroup code

Solved a couple of other bugs.  Also included the Anychart SVG cleanup
code in FOTestSuite2.html
Merge remote-tracking branch 'origin/master'

Conflicts:
	examples/Master/FOTestSuite2.html