Replace QDateTime::fromString with faster function

This patch to ContactsDatabase::fromDateTimeString led to more than 30% improvement in SeasideCache population time on my device.

P.S. let me know if you want me to squash the two commits. They are two different rewrites of the same function; the later one was a little bit faster.
There should be a v++ in this branch.
I'll fix it up and re-test.