Fix import for Python 3 support
Merge pull request #231 from pswaminathan/py3

Fix UserDict import for Python 3 support