Make dovecot::sql a class instead of define