Add Typeable instance for QDiagram.
Merge branch 'linear' of https://github.com/diagrams/diagrams-core into linear