SONAR-4700 Refactor the way to get differential periods by loading them only at project levels
(cherry picked from commit ab0c1f1)
SONAR-4700 Add some UT
(cherry picked from commit fda6c2f)
SONAR-4700 Load module snapshot from project snapshot instead of searching snapshot by date
(cherry picked from commit 7b1313d)
SONAR-4700 restore getProjectPastSnapshots() linked to project snapshots (and not module snapshots)
(cherry picked from commit a55c63b)
SONAR-4700 Fix new measures calculation when comparing from x days
(cherry picked from commit a685bfd)
Move test file to test folder
(cherry picked from commit 5a54f46)
SONAR-4700 Add some UT
(cherry picked from commit fc38bab)
SONAR-4700 Add some UT