Replace table and db names in JDBC drivers

1. Assumes the native table properties "grill.native.db.name" and "grill.native.table.name" are set to the underlying DB and table names.
2. If these properties are not set then rewriter does not replace DB and table names.
3. Added unit tests for both cases.