[FIX] Add missing ondelete cascade on attachments and vars
[FIX] Delete the record into OpenERP if it has been deleted on FlyDoc
[IMP] Add 'Odoo 7.0' as application name on transport submit
[IMP] Do not crash if the logout method call fails