Added lookup for User.type. Moved to Rails 3.2. Added seed data for user types.