Adds functionality to remove a local template.

This enables the UI to remove existing templates from the file system - something that's been requested for some time now.
In any case the only reason that forgetApp thing existed was for a "delete app" feature in the UI, so if using this method instead, we don't need the other method too.