Remove SwatDate dependency.

Interface is provided by DateTime which is included by default.
Use DOMTextNode to escape entities.

Allows removal of Swat dependency.
Fix class name.
Whitespace.
More data escaping using text nodes.
Fix syntax errors.
Merge pull request #4 from gauthierm/initial-package

Initial package cleanups