Define App.ApplicationAdapter instead of using the container key

Didn't think it required a separate file, but welcome to other opinions

cc @stefanpenner