An example of recursive namespace generation (specifically for Phalcon's Loader::registerNamespaces)