Added ConfigFromURI method and matching test.

Added method as per #1 with slight change in terminology to match what is used in https://github.com/streadway/amqp and the rabbitmq site.

Hopefully I haven't missed anything.