Refactoring `QueryBuild::buildUnion()`.
Show rawSql when exception is throw.
Build union fro Sqlite: removed brackets.
Refactoring DatabaseTestCase.
Added tests for Sqlite.