Improvements to the SWIG interface.

Now we hide and disable generation of destructors for some classes we no
longer need the javafinalize special cases.
Add some missing CompoundConstraints to list to not generate destructors for.