[BZ-1161700] make ProjectClassLoader to access kmodule resources

(cherry picked from commit a1dea4767dd685dbad04f219a11087f5f947716e)