Using subfolders for modules

I’d like to give my project some structure by categorizing modules into subfolders, similar to what Magento uses (core, community, local). After some researching I noticed this was impossible in the current implementation.

I’ve made a patch to fix this here.