allowing remote deployment given an app id or template id

[finishes #82607922]
Signed-off-by: Gary Paige <gary@theoryblister.com>