Add error notification for XBlocks in Studio

Adds a new `notify` hook for the Studio client-side runtime.
This allows native XBlocks to display errors in a style consistent with the rest of the Studio UI.

Also some cleanup of some non-JS naming conventions.

@andy-armstrong