NEXUS-5348: Fixed time calculation

As persistor talks in days but indexer in from-to timestamps.
NEXUS-5348: Added IT
No code change, optimize import
Merge pull request #77 from sonatype/nexus-5348-take-two

NEXUS-5348: Fixed time calculation