Adding the grunt-lineending plugin to the build process.

This is needed in order to ensure that line endings are in a Unix format, so that the package published to npm can work correctly on all systems.