Add ability to override application ID on create.

- Move options into opts for createApplication.