VSI Cache: add optional nChunkSize and nCacheSize parameters to VSICreateCachedFile() (adapted from r26722 1.8-esri)

git-svn-id: https://svn.osgeo.org/gdal/trunk@26725 f0d54148-0727-0410-94bb-9a71ac55c965
JP2KAK: on Windows, use VSI cache for I/O by default, instead Kakadu own I/O layer (not enabled by default on Linux, since it doesn't seem to bring any real performance gain) (adapted from r26722 1.8-esri) 

git-svn-id: https://svn.osgeo.org/gdal/trunk@26726 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_travis_macosx