Refactor loader.js to isolate compiler in function parse(load).

Function parse(load) returns array of ModuleSpecifer strings