Update motion templates to new template design. Added some missing model and view functions.
Update after comments: Removed user context var. Removed condition in unupport state check.
Merge remote branch 'upstream/master'

Conflicts:
	openslides/motion/models.py
Categories for Motions
Add CategoryFormField to the MotionForm
Append missing files
Merge pull request #1 from ostcar/category

Category
Updated motion category template.
Built-in Workflows are created by listening to a signal which is sent after syncdb.
Category Delete View
Merge pull request #2 from ostcar/category

Category Delete View
Added category_delete function to template.
Fixed version history.
Move builtin groups to a signal.
Add new TestCase class in utils to call the signal on running every test.
Fix PEP8, and forgotten import change. Update .travis.
Merge pull request #562 from normanjaeckel/Listen_To_Syncdb

Builtin Workflows and Groups are now created by listening to a signal
Motion Identifier
Merge branch 'master' of github.com:OpenSlides/OpenSlides into category
Changed comlex workflow automaticly set the identifier