Move acts_as_list from plugin to gem to support Rails 4.0+