Refactor Locker and added tests
Added Database.commit and tests
Added currant_branch, branch, tag and push to database.
Added tests.
Added transaction scope tests