Fixed the various issues surrounding the use of the global GDALGetCacheMax in various spots in the code. In many situations this should be pulling the size of the non global cache size in the situation where a dataset specific cache size was specified. Added methods to access the RBM from the Dataset and RasterBand as well.
Attempting to break everything with some stupid git commits in a terrible order all to fix a very small problem