Added utility for depth searching query tree
Commenting
Moved string escaping to database Driver

We have separation of query building and driver support, and since a
driver may have native functions to escape a string which are better
tested than anything I can make we then use these functions at the
database driver layer.
Removed unused serialization exception
Commenting