Moving logme Require JS module out of individual XModules/Capa problems.

Avoids code duplication.
Moved logme.js to src sirectory of js.