Significantly refactored the code to remove duplication, better support the require.js baseUrl parameter, and more intelligently handle situations where the same file is accessible via multiple paths.
Bumped the version to 2.1.0-SNAPSHOT