Corrected syntax in workbench composer.json stub
Merge pull request #2544 from alexrussell/fix-workbench-composer-4.0

[4.0] Correct syntax in workbench composer.json stub
Changed method scopes.
Fix resource path.
Set the app key in the config after updating it
Merge pull request #2572 from GrahamCampbell/4.0

Set the app key in the config after updating it
Check null.