Added support of branch usage in infrastructure of snapshotting
prevayler service.

Project is compilable again.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>