Replace read_ and write_inheritable_array with class_attribute.

These are the minimum changes required to get our version of ssl_requirement to work with Rails 3.2.

They are pulled out from this commit:- https://github.com/bartt/ssl_requirement/commit/def347e8165979dc63a7fab2d152a6b2a0cb7f19