added broker config and minor changes to magic.py2
broker_config creates queue exchange and binding for control.   Added qpid connect function