Implements #99
Refactor tests
Minor improvements
Events are emmited on agentLogic. Improved tests.
Minor bugfixes: Transactions are not repushed when they are expired
Equipare subscribe response to pop response. Config can be selected now.
Merge unstable into queueSubscription#99
Add missing config file
Merge queueSubscription#99 into unstable