GINIDocumentTaskManager: refactored the polling of documents.
Added possibility to use the sandbox environment easily.