Fix remaining refs to the former config object

Switch notation from

    value = d.key

to

    value = d.get('key') # in optional cases
    value = ['key'] # in required cases

Unittests for config dictionary make use of mock.patch.dict

Change-Id: Ib688dd13e1e3df9a82b3f0377064be8e6c765e55
Closes-Bug: #1301020
Update pythonwhois to py3 compatible version

Change-Id: Id24b8ab334160749683659ebf72a2a19a6b1e535
Merge "Update pythonwhois to py3 compatible version"