types-767589: Refactor 'tokenize' to be static

Previously the tokenize function was available on the Requisition object
but it never required access to any of the properties of a requisition
so we've making it a separate function.

In the future we are likely to have command line functions that make
use of this tokenise functionality.

Signed-off-by: Joe Walker <jwalker@mozilla.com>