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.