Add task deactivation and repository association
Set initial minimal relevance limit to repository (loading task)
Fix tooltip on repository task context files slider
Fix unneded query in insert (database API)
Improve database API performance:

 * Delayed commit (need to make it explicit on other modules)
 * Reused cursor creation
Added method to export all folds in the editor
Allow fold/unfold all programatically
Persist and restore folding per task context file
Fix method to import folding in editor