Work on workflow system. Now manager can choose the default workflow for a motion.

Workflows and states are saved into the database. Now you can get a workflow of a state via ForeignKey state.workflow which will cause only one request to the database.