Bug #58, Tidy up the Javascript callback mechanism

* Public JS function `$.fn.setPreSaveQuiz(function ( return extra ) {})`