Fix Studio to gracefully handle xblock JavaScript errors

TNL-46

I've changed Studio to catch JavaScript errors when rendering xblocks, log the error, but to then continue as normal. This means that the user is still able to interact with the xblock to delete, duplicate etc. This seems reasonable as the xblock is only rendered as a WYSIWYG representation so if it isn't fully interactive that shouldn't be a big problem.
Actually, it looks like all we ever do with the runtime is call "notify" on it. So it would be cleaner to have xblockView have a "notifyRuntime" method. And it can protect against the runtime not existing.