Cleanup of the matplotlib_web example.

Proper separation into model, view and controller.
Removed the svg format example, as that could be figured out easily.