Replaced MessageQueues with QueueConfiguration.
Allowing for arbirtrary groups of (peer,trigger) to be processed in parallel.
(implemented configurations for SingleQueue,PerPeer,PerTrigger)

TODO: workers are currently repeatedly polling their queue for new
messages. The waitForMessage logic needs to be reworked for engines with
multiple workers.