Conversation definition class

We currently have a split of conversation definition and configuration logic across Django views and Vumi application worker code. We need to split this out into its own thing that both sides can reference.