Created ConditionChain and unit tests

Signed-off-by: Tom Van Herreweghe <tom@king-foo.be>
Added travis config

Signed-off-by: Tom Van Herreweghe <tom@king-foo.be>