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

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