Database: updated and enhanced database test data
Database: added new database caching test
Database: fixed reinvalidating data in execute() state of execution.
Database: added test for caching joining column in case of empty join resultset
Database: fixed caching joining column in case of empty join resultset
Merge pull request #929 from hrach/db_joincolumn_cache

Db joincolumn cache