rewrite testcase to match new member function name
fix issue in loop evaluation
add testcase for 3062
solved ticket https://issues.jboss.org/browse/RAILO-3062
Merge remote-tracking branch 'origin/4.2' into 4.2