clean EvaluateComponent function
updated testcase for 2698
improved object serialisation of components, see also https://issues.jboss.org/browse/RAILO-2698