Fix for two ApplicationControl tests

In webkit default onerror is null. In blink it is undefined
API checks for undefined value. Therefore test will never pass
on blink unless it changed to null

BUG=XWALK-2194