Added XSD types
PHPDoc
improved tests
Fixes #28