Fixes #14.
Integration test added to verify that edit/update is idempotent.
Replaced modification of RecordsController class in records_controller_spec with an anonymous controller for testing override of set_attributes.