[qpa] refactor QMirServer to clean up its API, and fix strange thread design.
This does the following: - QMirServer has a much cleaner API - using d-pointer to encourage ABI stability - move quit decision point to MirServerIntegration - the Mir server is run from a class inheriting a QThread, simplifies thread control significantly Approved by: Daniel d'Andrada