[rpm] execute unit tests while building rpm

workaround, setting LD_LIBRARY_PATH to the statefs lib dir to avoid
issues occured in scratchbox

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[util] join() and split() for strings

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
invalidate tag on deletion

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[so] store library name

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
error unit test is more accurate

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
dealing with ugly linking

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[mt] WLock is not copyable

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[mt] use std::unique_lock in Mutex

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[util] tuple: generic operations

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