Basic conditional logic for Java REST runner

This commit adds support for 'if' and 'if not' to the YAML grammar
implemented by the Java REST runner. It allows one to create YAML REST
tests that use conditional logic.