First fully incremental score calculator
Incremental performance: don't track gaps in sets
Incremental performance: don't store gaps at all
Incremental performance: cache periods instead of retrieving them
Periods know about their neighbors

This improves performance by 100 %. It avoids one hell of a lot of
Period.get().
Remove some IDE warnings