Corrected an issue where an unordered list could not become an ordered list.

Added a Tag property to BaseElement.
Began PHPDoc commenting on the current classes.
Removed the scratchpad test.php in favor of actual unit tests using PHPUnit.