Add an API call to forget an app from history

This is to support a remove button in the UI.
It doesn't delete the directory contents since
I think that requires a more elaborate UI so
why don't we keep this simple to start.