Fix 1.3.2 date parsing bugs

This resolves LOGSTASH-1732 and LOGSTASH-1738. It also adds tests to cover both cases and several other acceptable similar variants of the ISO8601 time format.