Updated configure to check for more dependencies

Now checks for emacs, bison, gperf, flex but only if the code is from
the github repo and not a tarball.

Fixes issue #1
Merge pull request #13 from lab11/configure-merge

Updated configure to check for more dependencies