Add NullSubstitution support to QueryExtentions

Solution for Issue #506

Changed ResolvedExpression to go through a list of classes that could possibly resolve it.
Took normal 2 conditions and made own class and added one for null substitution.

If no issues happen throws exception saying can't convert query mapper.