New API for widgets using a metaclass.

It is now possible to define a default state and to submit extra stylefiles and javascript files when defining a widget in an app.
Next step
Step 2
Step 3
New step
New step 2
New step 3
Step