Rewrote using built-in xml writer. No longer "rolling my own" string writing solution.

 Properly handling log elements like attributes, classifiers, globals...
Added docs
Merge remote-tracking branch 'origin/master'

Conflicts:
	README.txt