Adding an `ec_test:format_iso8601/1` fun to format datetimes according to ISO8601 standards

And added a couple unit tests on it.