Handle dates too.

fedmsg.encoding can handle encoding datetime objects and time structs.

This allows it to handle datetime.date objects too.