Added a ResourceDeleting event handler on FileManager.

This is useful for plugins that need to take some action based on a resource being
deleted before all of the useful information like SourcePath is removed.