Update the checks when deleting the latest commit for a branch
Update the checks when deleting the latest commit for a branch

Now it checks if the deletion would result in a tag being left on
the commit, and no branch being able to reach it.  For that
situation, it'll abort the commit and warn the user of the tags
they need to delete first.

sqlitebrowser/dbhub.io,sqlitebrowser/dbhub.io,sqlitebrowser/dbhub-application,sqlitebrowser/dbhub-application