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


git-svn-id: https://buddypress.svn.wordpress.org/trunk@8358 cdf35c40-ae34-48e0-9cc9-0c9da1808c22