Define a 'opencor' Python module and allow variables to be added to it; provide direct access to it and the main Python module. (Plus some minor refactoring.)
Use refactored PythonQtAPI code; minor tweaks; style changes.
`name` appears to be a reserved attribute in PythonQt.
We need to wrap the QObject, not a C++ pointer.
Minor tidy up.