code to remove files

1. Remove build file references when using remove_file.
2. Add code for removing group by id.
3. Add code for removing group by name.

Tested on Xcode6.
revert to false. Unknown files should be ignored at least otherwise is stated.