#7008 - break down compileSpec.js into smaller files for readabilty/main...

...tainability

compileSpec.js is now 1.1K lines slimmer. First pass, if this gets approved, I'll continue with this until all  the logical parts are separated.