allowing remote deployment given an app id or template id

Signed-off-by: Gary Paige <gary@theoryblister.com>