Revert template_nested_typemaps to what it was before nested merge

The breaks were fixed in the last couple of commits
Update for Go 1.2 release.  Add support for linking SWIG code directly
into executable, rather than using a shared library.