Fix a typo in `app.boot` caused by the change from restBasePath to restApiRoot.

There were some inconsistencies within `app.boot` here that caused the wrong property to be set to `app`'s internal config, as well as the wrong error messages when `restApiRoot` is improperly formed.