Fix a const_cast in generated code that was generating a <:: digraph when using the unary scope operator (::) (global scope) in a template type.

Affects Python, Ruby, Ocaml.

Based on SF patch #341.
Uninitialized variable fix in SWIG_Python_NonDynamicSetAttr when using -builtin.

SF patch #340
Go examples and test-suite format fixes

Patch has the results of find . -name *.go -exec gofmt -w {} \;

SF Patch #339.