Updated the Json response view mixin so that it doesn't break with the latest version of django. Added a rest url/view (put) to the statemaching that allows for performing an action on a model instance. Fixed a bug in the statemachine permissions (they were generated without reference to the model).
Added an ajax response to the statemachine action view. Added the ability to send extra kwargs to the action method