add cache type info to debugging output and dump output
added testcase for 2973
solved ticket https://issues.jboss.org/browse/RAILO-2973
improve "invoke" method from each functions
improve "invoke" method from map functions
improve "invoke" method from reduce functions
improve "invoke" method from filter functions
extended FunctionException with invalid arguments count
modified testcase for 2973
improve "invoke" method from some functions