Masterlist update can now roll back branch tip.

When the remote branch is older than the local branch, the local branch
tip (ie. HEAD) will be updated to point to the same commit as the remote
branch. Fixes #297.