Pi-update, handles interrupts of the update process

Made some changes for the pi-upgrade script to store exit code inside a file.

This file is read by the pi-update script in order to execute the pi-fix script which will recover from interrupts during the update process.

Also changed the update.py script to be compatible with the revised pi-update script and also display appropriate messages to the user.