SONAR-4009 For "previous_version", Sonar must look into "events" table

=> The behavior of "previous_version" option to define a differential 
   view used to depend on the content of the snapshot.version column 
   but not of the events table. This could give wrong results.