modify: parseDate function returns false on failure or Date object

Simplification for easier testing result returned by parser
added normalizeYear helper function to avoid code duplication
added escape marks for slashes in regex expresions