Fixes for CheckModelAttrAccessible: consistency in Ruby 1.8 and new warning code

My mistake here. `CheckModelAttrAccessible` warnings should have used a new warning code when it was added.

Also, the comparisons are order-dependent, which is not guaranteed with Ruby 1.8 hashes and was causes build failures.