For some reason these files were missing from an earlier commit.

Adds mechanisms for generating tokens. And an ant-task to check that.