Merge pull request #4 from nemomobile/staging

tryLock, proper testing and small fixes
tests needs newer cor library

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
using more descriptive name for dbus moc headers

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[mt] Generic actor implementation around QThread

Actor creates QObject inside QThread and allows to post/send events to
it, protecting it from incorrect direct access.

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
AnyActor is renamed to Actor and it uses PImpl

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
added function to register actor to be deleted when app exits

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>