Added ActiveRecord::Base#enum for declaring enum attributes where the values map to integers in the database, but can be queried by name