XBlockAsides in LMS

[PLAT-217]
One thing we've done is to pass in the parameters that we use in a pseudo-RequireJS style. It might help if we ever do convert this to RequireJS, and it makes the global variable usage clearer. So this would be something like:

    }).call(this, $, JSON);

I don't feel strongly about doing it in this case.