Refactored items filters using native for loops.
Refactored tasks by date filter using native for loop.
Added commenting into tasks by date filter.
Tasks by date filter tests.
Fixed a bug where current week did not change when day changed from last day of the week (Sunday) to first day of the week (Monday). Renamed 'isWeekValid' to 'isCurrentWeekValid'.