Made nextJobDB.php respect $wgJobTypesExcludedFromDefaultQueue.

Change-Id: I22de34fc7be7b701180511fad3c16154ffdf638b