FLUID-5167: dependencies handling is more rohbust

Now the dependencies section in a json dependency file can be specified as a string, array, or be left off completely.
FLUID-5168: files are relateive to json file

Instead of providing paths relative to the grunt file, file paths in the json dependency files are now relative to the json dependency file.
FLUID-5168: fixed indentations
FLUID-5168: refactoring

Using toArray for both include and exclude. Instead of using all modules for inclusions when include is false, this is done when none are provided by checking the length of the include array.

Also renamed the confusing dependencies object to allModules, as it is the merging of all the module dependency objects found.
FLUID-5168: missed some cleanup.

Removed a default check for includes, as it is an array by default in the options now.
Merge remote-tracking branch 'justin/FLUID-5168'

* justin/FLUID-5168:
  FLUID-5168: missed some cleanup.
  FLUID-5168: refactoring
  FLUID-5168: fixed indentations
  FLUID-5168: files are relateive to json file
  FLUID-5167: dependencies handling is more rohbust