Create getUserHome.js

Find home directory in platform agnostic way