expose apps.json through CommomJS module interface

So we can import it cleanly in node.js
Merge pull request #394 from Janpot/patch-2

expose apps.json through CommomJS module interface