Add a validate method for ActiveRecord to prevent persisting invalid states.
Merge branch 'master' of https://github.com/ivantsepp/aasm into ivantsepp-master

Conflicts:
	lib/aasm/persistence/active_record_persistence.rb