Fix nested submodules
Make the Repository#submodules method work with submodules that are nested beneath the repo's root directory.  This patch uses the existing #tree_entry method to recurse through the commit tree as an alternative to the patch in #6.
Fixes issue 8135 on github.