Properly handle nulls in knowledge base
Properly handle nulls in knowledge base

Casts of null always succeed. Instanceof still returns false though.
This is consistent with the way these operations work in the rest of
Java.

hartenfels/Semantics4J,hartenfels/Jastics