cgo: added ability to disable closing

A do_close flag added to the Wrap* functions makes the wrapper
use or ignore the provided go objects' Close() method.

Update #19 & #21.
Merge branch 'cgo_disable_close' of https://github.com/cookieo9/go-misc into cgo_disable_close