Fix #8: added option to close gocode on exit

Since "gocode close" can sometimes take a long time, the process is
started detached.  Still needs testing on Linux and Mac OS X.