This moves (and makes public) _get_from_stdin() and _handle_json_or_file_arg() from node_shell.py to common/utils.py so that it can be used by the osc (openstackclient) plugin code too. Change-Id: I4b10a04b459b8206a20d258a255f9c882548be1e