Fix build for Qt5 release

Reviewed-by: John Brooks <john.brooks@jolla.com>
Fix tests build for Qt5 release

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Fix TestKeyFile: sort list before comparing

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Fix TestAccountSet::testFilters

The ordering of mAM->allAccounts() has changed. Fixed so it works
irrespective of the order.

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Fix TestDBusProxyFactory::testDropRefs

(Hopefully) prevent getting the new proxy instantiated on the very same
address.

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Fix HandledChannelNotifier for Qt5

The QObject::connectNotify() signature changed in Qt5.

Detected by
TestAccountChannelDispatcher::testCreateAndHandleChannelHandledAgain()
which hangs forever because HandledChannelNotifier::handledAgain() gets
never emitted.

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Update to spec 0.27.3
Update changes from Channel_Dispatcher_Future
Update test library to match spec changes
Add {Room,Subject,RoomConfig} interfaces to generation
Fix ChannelDispatcher.Messages test
Merge branch 'spec_updates'

Reviewed-by: Dario Freddi <dario.freddi@ispirata.com>
Fix moc command for Qt5.2

The check was already there, but since Qt5 CMake files are being shipped with
Qt5 itself, the check was meaningless as the only thing which matters is
Qt's version, and not CMake's one.

Reviewed-by: David Edmundson <davidedmundson@kde.org>
Simplify FindQt5.cmake

Make further use of Qt 5's cmake integration

Reviewed-by: David Edmundson
Allow compilation when only qmake-qt4 is in the path

If Qt5 is found via cmake we do not need to find the qmake
executable. This fixes builds when only qmake4 is available in the path.

Reviewed-by: David Edmundson
Add Q_UNUSED as Q_ASSERT is a no-op in release mode

Reviewed-by: David Edmundson
Add 5 to pkg-config package names for Qt5
Update spec to 0.99.2
Update list of built interfaces to match spec
SimpleStatus -> Status