refactored RabbitMQ priority job service in the middleware
Merge pull request #1670 from twobraids/middle-rabbit

FIxes Bug 937801 - fixed up rabbitmq priority job service in the middleware