Added flattening of files
When using the pattern <%= => from Gruntfile, for example when adding
files to test using dom_munger, it results in an array in an array.
This flattens the files array before passing it to Karma.