Changes to reflect code review

* walkChildren() is now defined on all Resources, not just Containers
* renamed FileOrProjectCloseAction to ResourceCloseAction