web: In $rootScope.savecircle, we changed the way we send the expiration
date from client to server.  We used to send a millis representation of
the date, but that resulted in a different date saved on the server if
the client was in a different time zone.

For example, client on Central time might send 12/25/13 12:00am as
millis, but when that millis value is received on the server (Pacific
time), it gets converted to 12/24/13 10:00pm - seemingly 2 hrs earlier,
but in actuality, the same instant in time.
web: Added an error() method to log errors to the db.
Added two methods for logging emails - one before the email is sent and
one after