Add subscriber preferences.

Also fix preference handling for deleting preferences when they are set to
false (boolean), empty (string/int) or defaults (enum).