implementation for application remote deployment

[finshes #80828568 and #80829470]

depends upon API pull request https://github.com/CenturyLinkLabs/panamax-api/pull/253
Signed-off-by: Gary Paige <gary@theoryblister.com>
I'd nuke this mixin and put the logic for each class in the class, seems silly to rip something out only to call ```is_a?``` inside it, then turn around and call a method that only exists on one object or the other. So:
```
# app.rb
def service_defs
  services
end
```

and

```
# template.rb
def service_defs
  images
end
```