Bugfix: Recalculating attendance days reads shared data once 

Description 

A recalculation of attendance days, after a change of a working-time assignment, a correction or an import, read the employment, the time tracking settings of the company and its country, and the clock-out before each day once for every day of the range. It now reads them once for the range, and a range whose days did not change costs about a sixth of the statements. The days, their results and the messages a change announces are the same as before.

Impact 

Long ranges recalculate noticeably faster, and the database is queried far less; nothing to do.