Pass assert_dom_equal message arg to underlying assertion

#assert_dom_equal and #assert_dom_not_equal both take a "failure"
message argument, but this argument was not utilized.
Merge pull request #11751 from rmm5t/assert_dom_equal-message

Pass assert_dom_equal message arg to underlying assertion
Added data for permit array into scalar value