package: fix main file for example application 'chat'.

The example application's main file is marked in its 'package.json' as being 'app.js'.  There is no 'app.js'.  So I've fixed the main file property to be 'index.js'.