Fix case-sensitive columns in ProjectionCompiler, IndexStatementRewriter and CVSLoader; Add corresponding test cases