bring golang bindings into buildable and tested state

The golang bindings were in a sorry state; the code admin_api.go wouldn't compile and many tests (which demonstrate binding usage) were lost on the merge from hypergo.

This PR restores the bindings tests and fixes the example code build and so it builds and passes its tests.