Make 'removeBuildTreeRefs' accessible via UI.

Adds a hidden 'delete-source' command.