FLUID-4915: args defaults to [] for apply

Changed fluid.invokeGlobalFunction to set the args to default to an empty array "[]" when args are falsey. This fixes an issue with IE8. I've also added a couple of unit tests in FLuidJSTests.js to verify the behaviour.
FLUID-4915: linting

Needed to lint for the test file to even run in IE6. The test I added passes, but there are some others that fail.
Merge remote-tracking branch 'jobara/FLUID-4915'

* jobara/FLUID-4915:
  FLUID-4915: linting
  FLUID-4915: args defaults to [] for apply
Merge branch 'master' into FLUID-4794-attempt2