Fix period expression parsing for month to month without year

Bug fix for #1074, a regression introduced by the fix for bug #375
Add ISO 8601 date as recognized date string

Dates specified via --begin and --end are converted to a value expression
using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by
ledger.

Bug fix for #1072