Rejig of Parallel building

- Moved the check on resources when being globbed to a separate loop
- Moved the dirty checking to after build, I figured the performance benefit of being able to build in parallel processes was worth another loop
- I needed access to @had_errors from within a GlobAction, hopefully adding an attr_accessor for this isn't a problem?