add API to case to get modules output dir
Merge branch 'master' into zipmodule