phql: fix issue 2229
phql: added tests for CAST and CONVERT functions
Merge pull request #2307 from maxgalbu/issue2229

fix issue #2229 (cast and convert not working)
Fixing release of someone else's frame in Cache\Adapter\File
Regenerating builds
Adding checks