Rename add_record to new_record
Add extra_attributes helper
New add_record method
Implement custom hash function on ProvRecord
Fix flattening