Add Custom Mailserver and Error Report to amc Script

Two major changes:
  1) Abilty to specify a custom mailserver with
     mailhost=mailhost:mailport:to:from
  2) Ability to send out email on error with
     reportError=true
Merge pull request #6 from dzelemba/custom_mailserver

Add Custom Mailserver and Error Report to amc Script
--def mail=localhost:25:amc@localhost mailto=amc@localhost
* refactor
Merge branch 'origin/devel'