gui: git cola can now rename a branch

Add support for renaming a branch from the menu.

Requested-by: Ｖ字龍(Vdragon) <Vdragon.Taiwan@gmail.com>
Signed-off-by: Minarto Margoliono <lie.r.min.g@gmail.com>
Merge pull request #364 from mmargoliono/rename-branch

gui: git cola can now rename a branch

Signed-off-by: David Aguilar <davvid@gmail.com>
cmds: refresh branch list when deleting branches

We were not updating the internal cached list of branches when
deleting branches.  This caused auto-complete to list the
deleted branch as an option even though it had been deleted.

Refresh the cached branch list when deleting branches.

Closes #365

Reported-by: Minarto Margoliono <lie.r.min.g@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
doc: update v2.0.8 release notes

Signed-off-by: David Aguilar <davvid@gmail.com>
gui: update branch name in title after renaming a branch

After renaming current branch, the UI is never notified of the model
change.

Update the current branch reference after renaming a branch. This is
done even when the renamed branch is not currently active one. The
operation should not be expensive, and doing so will simplify the code
logic.

Closes #369
Reported-by: Ｖ字龍(Vdragon) <Vdragon.Taiwan@gmail.com>
Signed-off-by: Minarto Margoliono <lie.r.min.g@gmail.com>
Merge pull request #370 from mmargoliono/issue-369

* issue-369:
  gui: update branch name in title after renaming a branch

Signed-off-by: David Aguilar <davvid@gmail.com>