Support for aliases that are folders of packages

It is possible to require a file that is path of a package that is installed via npm like
require("jade/lib/filters")
this patch should make that possible.