updates to mailer.rb to support subscription based mail_to addresses
minor adjustments for travis ci build failure
Merge branch 'mailer_by_subscription' of github.com:zarry/sensu-community-plugins into mailer_by_subscription