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>
There's an ActiveSupport helper for this: `params[:resource_type].constantize`.

But it's not a great habit to get into. Constantizing user-provided params on a real website might let me pass you "Admin" instead of "Template" and maybe do bad things. Not that we're exactly worried about security with Panamax. But if I'm coming to this code later, I might not have any idea which types you are expecting. You could make it clearer to me with something like:
```ruby
resource_types = { "Template" => Template, "WhateverElse" => WhateverElse }
@resource = resource_types[params[:resource_type]].find(params[:resource_id])
```