bootstrap.sh modernization

excluding more files in .gitignore
updating bootstrap.sh to deal with multiple versions of ubuntu (namely 10.04 and 12.04)