Add golint support

* Added golint script
* Added checks for go and golint to make sure they are installed
* Refactor upsearch() to a importable bash script
* Added support for passing flags to gocmd