Make exclude in package.json work

Make exclude package.json property work. See commit message for some details.

Also:
Add tests for Glob, one of which is disabled because it is failing, but I'm not sure what the correct behaviour is. It seems to me that it would be prudent to use an existing glob lib, and move the node_modules and directory checking out.

Correct converter spec by `trim`ming the actual.