Extremely ugly but it works as intended ™.

I'm sure there's a cleaner way to implement it without the global variables,
But I don't know the API well enough.
Updated to the latest gocode and set gocode's autobuild to true by default.
Merge branch 'impl-interface'

* impl-interface:
  Extremely ugly but it works as intended ™.