ignore leading and trailing whitespace in assert_multiline_equals()

also format multiline strings better on failures