Fixes found during demo-app build

The built step still looks broken (phantomJS timesout on mocha). The missing requirement to mocha in the `package.json` was a false alarm.