Stub has_attribute? to comply with rails 4.0.4

See https://github.com/rails/rails/commit/eaf0d50 and
https://github.com/rails/rails/commit/f214896ab9a62dd948b43751cebc77541eb7c2b1
Run specs on latest rails 4.0.x by default