Add tasks module with dependencies.
Add ticket autoclose module.
Core changes for tasks and autoclose modules.