Database: added test for accessed-columns caching responsibility
Database: fixed accessed-columns caching responsibility
Merge pull request #991 from hrach/database-caching

Database caching optimalization & bugfix