refactor(iframe.xss.response.js): Parse inside anonymous function.

References: #913
test(iframe.xss.response.js): Proper tests

Actually tests iframe postMessage and receive message events along
with the new iframe.xss.response parsing code.

References: #913