Top-down rewriting

Now rewriting replaces terms top-down  (not only first level)
Merge branch 'master' of github.com:ptal/nominal-workbench into hashcons