Added ability to update updater script

Moving the main update checking code to a dedicated script allows us to update everything but the main script, and that is nothing but a stub that launches the updater script.