Some extra checks to help prevent misuse of DOM apis in the insecure/buggy angular expressions

Note that this will be caching the fullExp which initially created the getterFn, but the error may be thrown when this getterFn is used in a different fullExpression. This will create an incorrect error message. Same with the cspSafe version.