Making Rewrite pluggable

had moved this to CubeQueryRewriter ..since the conf being merged was cube driver specific and this is required by lens-jdbc as well and I had already moved the RewriteUtil to lens-server since it has util functions for rewriting both DSL and CubeQL