Made rewrite tactic strategies pure. They were using quite uglily
references. Now they carry around their state explicitly.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16807 85f007b7-540e-0410-9357-904b9bb8a0f7