Backwards Compatible Updates for Rails 3.2

Please review this set of changes carefully.

These changes are derived from the Rails 3.2 migration branch I did a while back.  They are an attempt to pull out changes that I had to make to get Katello working on Rails 3.2 that are also backwards compatible with our current Rails version.  I am intending to make these changes now, to alleviate future pain points.