Issue 5736 - Missing 'else' in 'static if' in BaseClassesTuple

http://d.puremagic.com/issues/show_bug.cgi?id=5763

Also added a predicate and unittests which were missing for this trait.