Implement & test tidy function
Merge branch 'master' into TidyDocument

Conflicts:
	src/Dom/Document.php
	test/Unit/Dom/Document.test.php