Jdbcconfig oracle

This fixes a number of oracle SQL issues.

@jdeolive, @groldan, @smithkm thoughts?

I'm not a big fan of the Dialect `instance` field, but the other stuff took a while.

Err, and just noticed my odd commit message type (stagetraces)... I'll fix that
How much effort would it be to avoid this and make Dialect a member if ConfigDatabase?