Porting QuestionMark.js to Dojo and Mousetrap

QuestionMark.js intercepted some events, not available for other
scripts like dojo.on. I so ported the code to use Dojo library too
to remove incompatibilities.