Generate jid in _wait in state module if not specified (can happen when called in the mine with queue=True)

Conflicts:
	salt/modules/state.py