SQL improvements

Slightly nicer code, new delete() function, and fixed wildcard
replacement.

This commit also ensures that the generation of NIO buffers will produce
a java.nio.DoubleBuffer if the Ruby Float values exceed 32 bits.