Store number of days for the view directly in enum
Update getTasksOwnedFromDateToDate to use just one query to get data
Fix and clean tests for getTasksOwnedFromDateToDate query
Minor refactoring of getTasksOwnedFromDateToDate query tests
Update getTasksAssignedAsPotentialOwnerFromDateToDate to use just one query to get data
Update *byGroupsByDays query

 * query uses single call to task service for better performance
 * tasks with no due date are returned for Today (if present in interval)
 * removed parameter groupsIds, that is not needed any more
 * added parameter statuses to unify with other queries
Remove unused and duplicate queries

 * byGroupsByDays query is same as *asPotentionalOwner, so use that one
 * removed queries with hardcoded statuses, instead queries with statuses
   as parameter should be used
Update and clean query tests
Refactor getTasksAssigned*ByDays to use common methods