Extracted cache key generator
Extracted permits for down/upvote into votable
Merge pull request #4 from loz/master

This is porting back changes into the main tyne project