Added ResolveWithTypeHint to base Expression class

Use type hints for Boolean expressions, Binary logical ops (to disable coalescing), and for DynamicConversion optimization