Moved 'use_python_logging' function.

Moved it from SWIG .i file to Python __init__.py file. This has required
a slight change to the Python helper classes. The Context class
constructor parameter 'use_python_logging' has been renamed to
'with_python_logging'.