Handle records == :all in HasManyAssociation#delete_records

Updating delete_record in line with AR 4.0.0 code. Without this calling
delete or clear on a has_many assocation can result in an exception.
Merge pull request #170 from tomhughes/hasmany

Handle records == :all in HasManyAssociation#delete_records