check for wget and gpg before proceeding

wget and gpg are not necessarily present (such as a livecd image), but the script proceeds anyway and leaves things in an inconsistent state, causing confusing errors if it's re-run.  This bails out early if the dependencies are not present.
Merge pull request #129 from chuckadams/patch-1

check for wget and gpg before proceeding