A mass update that fixes almost all issues with PyQt5.  All unit tests pass (including with PyQt5), pylint is happy and everything seems to be working.  Still to do: more work on plugins.