Merge pull request #50 from rowanseymour/master

HTML-459: Support inverse functionality of ifMode tag
added some tests for HTML-459