Ensure that the analysis type matches the one in the scoped key.

The cache server now checks that the analysis type specified in the Keen API path matches the one set by the scoped key.
This will work now on the developer portal but will break if the scopedParams.analysisType is not defined. I will fix this but please include test for this case.