Added token type registry. Closes #45
Merge pull request #52 from thequux/token-registry

Added token type registry. Closes #45; see also #54