More expression stuff

Add testing of complex attributes to ExpressionSupportSmokeTestCase

Fix problems said testing identified

Transformers for threads resources.

TODO in separate commit: transformer testing of ejb3 and jca