Set bzrlib as optional dependency.

Code should work without bzrlib and skip logging the revnos if lib is absent.

Git dependency kept since oca/server-tools itself is git and we would like to
know sha of sentry_logger