Parse AMD/CommonJS/Node module imports and exports