Re #7797. Adding first pass of broken unit test of getComponentByName
Re #7797. Adding more tests of getComponentByName.
Re #7797. Fixing nlevels functionality of getComponentsByName
Re #7797. Small performance tweak.
Re #7797. Expose the recursion depth to the user.
Merge remote-tracking branch 'origin/bugfix/7797_getComponentByName'