Do not use php zlib compression

With it enabled http responses 204 and 304 have a response body consisting of only a gzip header.
Use the apache2 deflate module instead.
Add script to prepare database for running the testcases

Updated sample config files
Update local testcases

Data/ItemTest: Mmatch current behaviour regarding update of version
MemCacheTest: Change assertEqual with assertSame