backport.py: minor refactor
- Cleans up some leftovers from last major refactor.
- Changes organization of repos+submodules to core repos and config repos.
- Gets submodule paths on disk to fix bug in revert of nested or non-core submodules.
- Adds nested submodule revert test.
Edited by Jeena Huneidi