Truncates microseconds to milliseconds, if present.

With regards to this thread:
https://community.igniterealtime.org/thread/53469

The Java DateFormat tools are unable to parse microseconds. XEP-0082 allows the use of microseconds. This code will truncate the microseconds field in the DateTime string to milliseconds. Test included that will fail if no fix is added.