Prevent errors in browsers that don't support canvases.

Added feature detection to prevent the plugin from executing if the
browser doesn't support canvases.
Added the `error` hook, triggered if the browser doesn't support
canvases.
Added the `error` hook to the doc.