Now throw an AssertionError for failed tests.
OutOfMemoryError disappeared in evalImport, closes #587

Replaced a catch (Throwable e) by catch (StaticError e).

Note: all places where we do catch (Throwable e) are suspicious!