Standalone tools install

Fixes the tools' build script to enable the tools to be built on a clean Lucid image. Previously, the build script assumed you were building it after building the main AppScale branch, so this fixes that by explicitly checking for everything that it requires, and only installing it if they aren't present.