Various refactorings.

1. Change RexBuilder.makeRangeReference parameter type.
2. RexBuilder.makeInputRef replaces RelOptUtil.createInputRef.
3. Add class SpaceString.
Support filter query on project materialization, where project contains expressions.