Adding a prev_state column. Fixing validated->invalidated not taken into account in stats.
Merge pull request #103 from pgiraud/stats_percent

Adding a prev_state column. Fixing validated->invalidated not taken into...