Add registration code for dialect, and add unit test for NuoDB.