BUG: Qt: Destroying Window does not destroy native control.

Closing/destroying the window did not destroy the native control
which may appear as a memory leak.
This also affects TaskApplication, which leaves around TaskWindow
references even after the window is closed.
Merge pull request #79 from pankajp/qt-destroy-window-control

BUG: Qt: Destroying Window does not destroy native control.