Web application group days in weeks

Days are now grouped in weeks in the web application.

This commit makes the web application pretty close to being usable.