added conditional checks

added -X (--isplugged) and -Z (--isawake) flags which check if the car
is plugged in and awake and exits if the condition is not true. Useful
for avoiding waking of a sleeping car in 5.0+ firmware