Added support for #doesNotUnderstand on non-SObject classes

Signed-off-by: Stefan Marr <git@stefan-marr.de>