factor out more code to method processArchiveDays()
core:archive console command: new parameter --force-periods
refs https://github.com/piwik/piwik/pull/319
refs #5396