Add missing glob dependency and fix up examples

This was really bugging me, it was missing glob and the examples weren't really that clear. This should help for when people are using this module independently of npm.