Added new utility function `applyPath()` (see ceylon/ceylon-module-resolve#109)