test: sort ranges used for verification

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[vault] separate repository version

There is tree structure version and repository version now. Tree
structure can be changed along the time line (so, for previous
snapshots it can be different), repository structure does not depend
on git HEAD.

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[vault] ability to save current state

File to save current state is stored in the tree and added to ignored
files list. It is intended to be used to save current ongoing
operation/repository state. The set of states is not defined yet.

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