SONAR-5566 Replace usage of ComponentDao.getByKey by ComponentDao.getAuthorizedComponentByKey
rename package org.sonar.server.component.persistence to org.sonar.server.component.db
SONAR-5529 Create SnapshotDao in order to more easily do some medium tests