osd.py: add error handling for external commands

Compile helper routine misc.subproc_call along with users; punch
into globals() dict for remote Python to be able to use it.

Signed-off-by: Dan Mick <dan.mick@inktank.com>