Move utility functions out of mininet.py
Having a file with the same name as its package creates hard-to-diagnoseimport error, so rename mininet.py to net.py. This commit moves utilityfunctions, generally those dealing with network namespaces and interface...
More flexible logging support
Use customized StreamHandler from Python logging module to printonly messages for the specified loglevel to the console.