Fix a bug where #module would not always recurse

- Fix a bug where view.module(key) would not recurse when the key is the same as a module that was previously an immediate child of that view.
- Add a test for recursively looking up modules via #module.