Adds ability to support RequireJS pragmas plus tests and windows tests support

We have a large jQuery Mobile project and use pragmas in the same fashion that the jQuery Mobile team uses them.  This PR is for a small change to support the ability to include pragmas.

I also included a small change in the test file to support windows/different line endings.  It shouldn't break it for you guys since it checks for windows and only applys the different regex then.  When I originally ran the test after doing a fresh fork they all failed and it was because \r\n !== \n.

I just realized that I forgot to include some updates to the documentation to explain how to use it but I'll submit that as a different PR if there are no issues with this one.