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
preparing version 3.1.0
not supporting Ruby 1.8.7 anymore
Merge branch 'master' into aasm4