Fix autosave_association for belongs_to and has_one
Allow attribute_was to take an array of attributes