Update app.js to avoid Windows crash

process.getgid() results in a server crash on win32, as that function isn't available. This checks the OS platform before calling process.getgid() to avoid this crash happening.
Merge pull request #2 from jamiehoyle/master

Update app.js to avoid Windows crash