Add a method for binding a subscriber to the current exec context.
Fix failing test
Move class.
Support deserializing generic types with Jackson.

Closes #338.
Merge remote-tracking branch 'upstream/master' into clients_pac4j
simplify code