Removed dependency on dataTypes
Switched to using dedicated registerParser/registerFormatter functions
Added parameter check
Merge pull request #6 from wmde/removedtdependency

Removed dependency on dataTypes