Updated Ubuntu install script

Updated the Ubuntu 12.04 installation script to run with GitLab version
6.2. I tested on a clean 12.04 installation. There may be a couple
unnecessary things leftover from the previous version but it seems fine.