Glob concurrency limits

There is a issue over at isagalaev/highlight.js#636 that involves glob opening too many files concurrently. This pull request allows the option for putting a limit to the amount of files open at one time.