Fixes PHP version for Heroku
Refactor to move code to models
Feature: /:team/calendar shows all todo items, even closed ones

- Grouped by date
- Doesn't show done for already done tasks
- Assets loading improved using BASE_URI