Provide public api for _previous_state
Add helper function for comparing foreign keys
Merge pull request #1779 from steventlamb/topic/update_audit_api

Topic/update audit api