Add validation for mail model and change
the workflow in the controller
Improve error messages; send test email only if
the email address is not blank
Singular constant name fits better
Explicit check no needed, validation of the action makes the model already
Send email only after the configuration has been saved
Add mailer class
Add route for test mail request
Set up the mail notifier
Configure the controller, model and view to send email
build and %post fixes

- enable back post-build-checks
- stop collectd before removing /var/lib/collectd/*
- correctly handle update/install (see https://fedoraproject.org/wiki/Packaging:ScriptletSnippets?rd=Packaging/ScriptletSnippets#Syntax)
Sending of email should now work
fixed /var/lib/collectd/ cleanup
removed accidentaly submitted patch for network
Sending mail now works
Corrections from lslezak review
Merge pull request #46 from vmoravec/mailsettings-bnc-784360

Mailsettings bnc#784360
- added ajax button for sending of test mail through smtp
always restart collectd (to make it simple)

added comments to make the current solution clean
Merge pull request #66 from webyast/status_postinstall_race_condition_fix

Status postinstall race condition fix
Merge pull request #68 from kobliha/Webyast-1.3

Fixed restdoc build (bnc#805282)
Fix restdocs build - roles - bnc#805282