Add garbage collector for build tasks with timeout (issue #1).
Add additional indexes to build.
Add flag for garbage collector and index for it.
Fix wrong index.
Add garbage collector for build directories (issue #2). Fix wrong query on timeout garbage collect.
Fix wrong query condition.
Merge branch 'develop'