Fix remote app wrapping

@czue @dannyroberts 
This is awkward because now `RemoteApp.by_domain` returns... only `Application`s. Maybe check for usages (I doubt anyone ever has called `RemoteApp.by_domain`) and just move this directly to `Application`.