WIP transitions refactor medic/medic-webapp#714

Updated transition to return true value when doc is changed, deprected use of:

```
return callback(null, false);
```