[BUG #7810] fixed create-application.py for skeletons without Gruntfile.tmpl.js

- gruntfileFilePaths should be [] when no Gruntfile is found (not ())
- never change a sequence in place while you are iterating over it (can have
  nasty effects)