Refactoring the queues.
Fucktoring the queues continunerar.
Extracted queue to its own package.
Fixores minores.
Prototyping with the "new" queue.
Refactored message handling.
PHP 5.3 fix
Mongo instructions fix.
Finalized queue extraction
Merge pull request #165 from xi-project/queue-extraction

Queue extraction