fix issue #1219 npm link shared mojits failed
update store.server.js basing on feedback and add tests
add test for linked mojit
rm path.existsSync() as it is deprecated
Merge pull request #1220 from lzhan/fixslink

fix issue #1219 npm link shared mojits failed