query interface when using aContext, fixes #503

aContext can be nsIDOMNode or nsIDOMWindow. Previously, it was assumed to be a DOM node, so it caused an error.
see https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIContentPolicy#shouldLoad%28%29