[IMP ]add failure_reason field and counting number of fail mail

[IMP] improve help and change field name fail_mail to fail_counter and change method name of counting fail mail
Merge pull request #936 from odoo-dev/master-send-failmail-warning-avo

[IMP] mail: store the reason when failing to send an email; usability improvements in configuration, now showing the number of failed emails + links for easier configuration.
[FIX] mail: issue of action_id used before being defined. My bad.
[IMP]mail: Add the Application search and Mark_all_Read Button.
[IMP]mail: Remove code done for application wise search.
[IMP]mail: Add Search messages using Application wise.