[doc][security] use generic token factory in doc examples.
Merge pull request #91 from Payum/security-token-factory

[security] Introduce token factory and generic token factory