Delete data device manager while display is still alive.

Change-Id: I7691e06d75866034c93020ebdfb45421275fcf9d
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Merge pull request #9 from sletta/mer-stable

[qtwayland] Silence valgrind warning.