Move grunt/settings/jshint and jsbeautify files to root of project,
and use the grunt task to differentiate between devel and release tasks.

This lets the IDE  use .jshintrc and .jsbeautify without having to
configure them manually.
Only run the replace task on js, css, json and txt

Running the replace task on all files, including images can
cause problems.