cleaned up the test case for the config description writer
STS-3407: added test cases in preparation of changing the BeansModelUtils methods for finding affected beans and configs from IResource objects
STS-3407: minor additional optimization for improving the lookup of projects from model elements