performance(template): Use hidden property to filter tasks, rows and columns

Filtering of tasks, rows and columns are now controlled by gantt factory, allow filtering functions to be called less often.

visibleRows, visibleTasks and visibleColumns properties have been removed.