[contacts-sqlite] Replace JobList with QList for safer logic

The next and previous pointers in a Job were used for three distinct
JobLists, across threads, and used unsafely in several places. That
resulted in a job being infinitely repeated, seen as 100% CPU usage from
contactsd's birthday plugin.
Merge pull request #10 from special/master

Replace JobList with QList for safer logic