Qt refactor

This PR refactors imports of Qt4 into `glue.external.qt`. This is the fist step towards PySide support, as discussed in #132.

The PR that actually implements PySide support is forthcoming, but much harrier. The current contribution is provided so that parallel development can use the new QT api, without relying on still-buggy PySide code.