Port of python-ifconfig to Python 3. Also added some APIs.