Added shouldExcept() function that works based on a function.
Added shouldExcept() function that works based on a function.

Needed by tests-repeat.js. Forgot to add this back then.

KDE/kjs,KDE/kjs,KDE/kjs,KDE/kjs,KDE/kjs,KDE/kjs