rabbitmq: Extract rabbit connection functionality to a separate class

Change-Id: I1fbb90bbd8b5007174fb25a98d787799456379ea
RabbitMQ: Separate common listener code

Change-Id: Ie33ebb5cf057399a3c6e10a425e1cd3f17a79643
rabbitmq: Create class to generate a queue to listen pipeline requests

Change-Id: I5b61330e13e6c492bb79e233cfd7f348b7289843