[test] using array to store tests

Order of tests execution is guaranteed only for array.

[test] added testSetup/Teardown

executed before/after each test. There can be several setups/teardowns.

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
initialize undefined options in cptree

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
[git] .fix_root() and describe()

fix_root() allows to pass to factory function any path within existing
git repository and to correct it later to the repository root

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
[util] String.isDecimal

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