add api tests
add tests for extractCjsDeps
fix arity of factory function, obfuscation protection, better r-val require detection, and minor cleanup
add joinPaths, prepend baseUrl onto urls, convert config.dontAddFilExt from string to regex
add main: "bundle,main" functionality
add findScript and extractDataAttrConfig functions
create more inner modules and change test files accordingly
add curl.restore() and config.init(); restore define.amd
wait for initial config before initial curl() calls. other comments