Fix infinite UpdateJob

- Remove GLOBAL state from `SMWSQLStore3Writers::updateRedirects`
- Add `JobQueueDBIntegrationTest::testNoInfiniteUpdateJobsForCircularRedirect`
Merge pull request #617 from SemanticMediaWiki/infinite-updatejob

Fix infinite UpdateJob