encryption_ng_otr: basic port to libotr 4.0

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: basic implementation of new Ops methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: removed old (otr 3.2) methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: do not implement account_name methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: do not implement received_symkey method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: implemented error_message methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: made more methods const

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: implemented msg_prefix methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: do not implement convert_msg method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: formatting fixes

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: implemented timer_control method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
encryption_ng_otr: do not crash after receiving otr message

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
gui: added convienance ChatWidget::appendSystemMessage method

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: implemented handle_msg_event method

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: do not close Kadu if otr is not available

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: do not crash Kadu when initiating encryption from Kadu

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: re-enable fragments for otr 4.0.1 and later

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
gui: fixed crash when adding existing account

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: do not implement create_instag method

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
encryption_ng_otr: make it working again

Signed-off-by: Rafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>