Improved getting masterlist revision info.

Now uses libgit2's diff API to check if the masterlist has been edited
instead of my own comparison code. It also gives the revision info even
if the masterlist has been edited, but with " (edited)" appended, which
should be more useful.
Implemented C++ side of masterlist updating.
Implemented UI refresh for masterlist updating.