Supports `has_attribute?` on mock_model doubles

Forward port of rspec/rspec-rails#965
Merge pull request #5 from rspec/rails_4_0_4

Supports `has_attribute?` on mock_model doubles