Add optional date argument for add (-a).

memo -a can now accept also a date in format yyyy-MM-dd. Date is also
validated. If date is omitted, current date is used.

Signed-off-by: Niko Rosvall <niko@ideabyte.net>