Bug 899005 - [Email] We have time zone issue when we run the unit tests for gaia-email-libs-and-more

Use the formatImapDateTime function to skip the time zone issue.
http://bugzil.la/899005