Fix infinite UpdateJob

- Remove GLOBAL state from `SMWSQLStore3Writers::updateRedirects`
- Add `JobQueueDBIntegrationTest::testNoInfiniteUpdateJobsForCircularRedirect`

Relates to #606