IDE-1748 Maven subfolder which has pom.xml file will be treated as maven project and add to working set

This code does make sense as it tries to detect nested projects but this has a few problems.

1. this code does not support projects that have deeper nesting than one directory down.  I know that right now we don't have that case but your code is generic and not specific yet it will not work for more complicated cases in the future which means this code will "stop" working easily in the future.  
2. This code assumes that the directory name will equal the project name.  Most of the time that is true but sometimes that is not true.  or in the future that may not be true, so we should not add this type of code that has such assumptions.

What would be better for us is to go back to the API.  The wizard calls into the OpMethod for creating the project.  That open method has an API to return a status or perhaps a list of projects that have been created.  We can modify the API to actually return to the wizard a list of IProjects that have been created and then the wizard knows exactly which projects to add to the workingset.

Then in the maven project provider it knows that a servicebuilder archetype will create more than one project to be added to the working set.  Then we don't need to write code like what this to "find out after the fact".  

I hope this is clear if not let me know and we can discuss further.  

thanks.