Fix 2492 : gravatar is always enabled.

The error happened because : ```enabled ||= true``` always evaluates to true.
Changed all initialisations of bool settings to use same syntax ```enabled = true if enabled.nil?```