Creating getMinTimeProcessedForTemporaryArchive and splitting getMinTimeArchivedProcessed to make it clear.
Renaming class to Piwik_DataAccess_ArchiveSelector -- it will specialize in selecting archives
Introducing the Piwik_DataAccess_ArchiveWriter which encapsulates logic for creating new archive entry
Fixing build and small refactor
Merge remote-tracking branch 'origin/master'