Rails to 4.1.0

Set to use Rails 4.1.0. Also the change state_machine gem to aasm (Acts As State Machine) gem (since state_machine doesn't work with 4.1.x.