Enhance groovy-html.template

Try saves for null like it done in other parts of this template :) I looked on JUnitTestResult method but it can't check instanceof without real class... Only if compare using String class names...