Cleanup tool finding functions

There was a duplicate definition of `gocode`, and `gofmt` didn't correctly search `$PATH`, and might as well use the helper function `gopathBinOrPathItem`.