Adds support for passing JSON parameters to initialize XBlock

This allows this XBlock initialization to pass a JSON argument from Python to JavaScript. This eliminates lots of template hacks getting data into XBlocks. 

There is a matching commit in the XBlock repo. 

@cpennington @rocha 
Oh. Actually, you could just use `getattr(frag, 'json_init_args', None)`, and then we don't have to change the code later.