Implemented a metaclass-based technique for self-registering handlers

--HG--
extra : rebase_source : d301524fd9a0d799ea0344508e675ea9c93f170f
Use self-registering handlers for Datetime objects
Merge pull request #41 from jaraco/self-registering-handlers

Self registering handlers