Grunt: add jshintrc and gitignore config files.
Taken from bbPress trunk. This commit is part of a series that will re-organise BuddyPress trunk to use a Grunt build process. See #5160