use s/// instead of tr///, as tr must use one and only one character
add disable avatars support
handle exporting libravatar uri options
import all variables except config
Fix double encoding of attachments (closes: #703300)