core: Support loading folder based modules by name.
core: Support loading folder based modules by name.

Former-commit-id: 6cfbd527274e452c89c762d31feb92656e4056d7 [formerly d96ebfbecb82f807eb55afe98d1004e26d4507ad]
Former-commit-id: 17e222a1434b6bc97e3d3a66b27247e68663f058
torhve/ivar2,torhve/ivar2,haste/ivar2,torhve/ivar2