keep pace with the latest changes in syntax

Ex: 
validates :state, :inclusion => { :in => [OPEN, CLOSED] } 
is changed to 
validates :state, inclusion: { in: [OPEN, CLOSED] }

Changes are done in models only.