Adds support for passing JSON parameters to initialize XBlock

This PR will allow Python to pass parameters to JavaScript when initializing XBlocks. There is a matching PR for xblock-sdk. This avoids template hacks to get data into an XBlock. 

Footnote: In the long term, we'd also like to add ways to have shared variables, but that's probably v3 or v4.