Improve update_core function.

By default try to find the latest core version.
Restore single upgrade version.
Oops copy and paste.
Fix update plugin test.
Add Update Core Test

Leaving it commented as it could change the state of the site.