Remove branches by SCM hook

We have added the opportunity to delete those branch builds that were deleted from SCM.

This merge request can solve such several problems at ones as: #157, #335