Added options.configFile option to template

Added options.configFile to the template in order to pull in an external RequireJS config. This promotes reuse of the application config, keeps from having to copy an entire config into the Gruntfile, while allowing override of application config options. 
Moved require.js script call to the correct spot
Merge remote-tracking branch 'configfile/master'
Move inclusion of config to after that of requirejs.
Revert to upstream version of patching require config.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	src/templates/jasmine-requirejs.html
Add 'g' flag so that regex works on multiple init functions.
Merge pull request #1 from timsnadden/master

Add 'g' flag so that regex works on multiple shim init functions.