Fix relative paths in local mode

Before, these were being resolved relative to the html file. Now we're using the require that's passed into the module factory which resolves paths relative to khan-exercise.js, which is more right.

Test Plan:
/exercises/addition_1.html

Auditors: eater