Fixed dateparsing problem

Fixed dateparsing problems in AbstractTuple, dateFormats "MMMM d, yyyy" and "dd-MM-yyyy" parse correctly now (+ small refactor of getDate(x))