Merge "(bug 41494) Honor $wgLogExceptionBacktrace in APIMain"