db class bugfix for NULL values
cleanup
db utils bugfix related to escaping NULLs
form functional tests updated