Add email support for newly approved vendors

Add a module for email functions, a template for the HTML email body,
settings to configure the outbound credentials.

Update save_existing() method to send an email when a vendor is newly
approved.

Add tests to make sure emails only get sent once.

Bring in mock library to create mock test objects.