Deprecate direct calls to AC::RecordIdentifier.dom_id and dom_class

Also add some generic tests to ensure they're properly deprecated.
Removing : warning: ambiguous first argument;
Merge pull request #8975 from arunagw/warning_removed_ambiguous_first_argument

Removing : warning: ambiguous first argument;
Remove useless || operation
spelling correction for AM interceptors
Merge pull request #8976 from senny/spelling_correction

spelling correction for Action Mailer interceptors