Don't generate an invalid app.json. Fixes #8
Update redactor to match 'PWD' pattern. Fixes #7