Added a helper function for scanning repos.

The helper function applies the proper scan for the repo type, saves the repo status, and checks whether the repo can be updated.
Adding nicer output formatting to the repo update page.