cmd/mgmt/device/impl: add publish command for uploading to binaryd/applicationd

Publish is meant as a one-stop-shop to take a local binary and create a binary
service entry and an envelope for it.  It can handle several binaries at a time
for 'batch' publishing.

Change-Id: I4a40fccd8a625dd254682d552cb9ae9b5f833d62
3 files changed