start after document.onload to suit IE 9

IE 9 is the last remaining browser that runs scripts in the body before the document is ready.
This commit wraps the Numbas.init code in `$(document).ready(...)` so it only runs when the document is ready.

fixes #315