Bug 1030464 - log mozApps debug messages only if pref is set; r=fabrice