Updated Grunt string-replace for Windows carriage returns.

There was a problem where the Github app for Windows adds carriage
returns to newlines. These are now stripped out before the other
string-replace tasks are performed.
Updated README with information about how to prevent Windows carriage
returns from being checked in with commits.