cmake: removed non-existing tmp util

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
g++ 4.6 comatibility - packaged_task->async

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
packaging: systemd service file, script to archive with cor

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
example: joining generation thread on exiting

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
statefs utils: one more helper function

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
raii handles for statefs elements

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
metadata dump releases handles correctly

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