update the sourceMappingURL (now with tests!)

updated ncthis's PR #67 to use grunt file api methods, added tests
this is now much less greedy