Fluid 4915

Modifies fluid.invokeGlobalFunction slightly to have the args in the apply default to an empty array. This addresses an issue where IE 8 is expecting a valid object. Also added unit tests and linted the test file.

http://issues.fluidproject.org/browse/FLUID-4915