Initial support for NuoDB, but there are some changes herein that ought to be backed out.