Add a replace command to the facts plugin

The replace command is a shortcut for removing an existing fact then
adding a new definition for the same term.
Merge pull request #119 from nrb/replace_fact

Add a replace command to the facts plugin