fixes for RabbitMQ 3.4.0

RabbitMQ 3.4.0 and higher do away with the "...done." at the end of rabbitmqctl's list commands, so this change checks to see if the split command output ends with "...done." and slices the array appropriately.