Ensured that modules references by directory use the final absolute
script path when registered so that attempts to re-require a directory
based module issue a warning as expected.
Added the ability to require modules relative to a module using the
require.library method.