Change importing of constants.

Instead of importing all constants with wildcards, every constant will
be prefixed with the module name as usual.
Fix calculation of expired backups by age.

Now the maximum ages will be recomputed in every poll cycle instead of
once at the start of the program, which leads to wrongly marking expired
backups as not expired if they expired after startup.