[MONDRIAN-1949] Add generic method to identify a database product.
Use the new static method on the Dialect as the fallback means to
determine the database product.

Take advantage of equalsIgnoreCase as it does null checks, and it
handles case properly, and optimizes for ordinary equivalence.