A model that is not "dirty" can't transition to "uncommitted".
Added a test for model transitions when the model is not dirty.
Merge pull request #14 from diogomafra/validate_dirty

A model that is not "dirty" can't transition to "uncommitted".