Implement pub/sub agnostic tokens
Implement pub/sub agnostic tokens

This did not require any changes to the token generation logic, which
happily signed URLs not containing {/pub,/sub}, but just to the
authentication logic.

scraperwiki/hookbot,scraperwiki/hookbot