added upgrade() bash function for better apt-get experience

taken from
http://askubuntu.com/questions/113748/how-to-avoid-apt-get-to-stuck