add docs for 'when: var is defined' idiom

Documented both the 'skip' and 'fail' idioms.