Use command instead of which for apt-get existential check in bootstrap.sh

`command` is a better way to check if a command exists than `which`.  See [this StackOverflow post](http://stackoverflow.com/questions/592620/how-to-check-if-a-program-exists-from-a-bash-script).