generalized the token to be usable for mapmakers
makes infinite the default lifetime
Merge pull request #939 from NimbusBP1729/token_refactor

Tokens can now be placed in tmx files