DB: ibase fixes, escape is now public
added SYSROOT constant & TEMPROOT (optional) constant
tmp dir