Added in the basics from https://bitbucket.org/elbeanio/django-statemachine