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. This is done by a new metaclass in openslides.utils.dispatch. Also fixed some other tests.
Merge pull request #1134 from normanjaeckel/NewWidgetAPI

New widget api