Issue #2375215 by Fabianx: Add support for arbitrary directories to scan, similar to hook_xautoload