Use MinMax filter to compute histogram parameter for label stats

This should be more efficient than the general statistics image
filter.

Change-Id: Idb163fb71e7d1e069c7bb8e73f68a7b7110214bd
fix custom cast template component

Error in prior commit had the template declaration in the wrong place
for a case.

Change-Id: I69a6c0dac92ac3d0cf8e5e56cda4f31e447ca0b9
Add support to test template for measurement results with parameters

This add the needed functionality to test the active measurements with
parameters.

Change-Id: I031bbb5c6a649cb41dff32acab364537c21d658a
Add json based testing of measurements for label statistics

Change-Id: I4b95a1808a9485782cdeef92486bf2f37724dd8e
Merge topic 'SIMPLEITK-490_Uset1functionForLabelStatisticsImageFilter' into next

df033cbe Add json based testing of measurements for label statistics
6964bece Add support to test template for measurement results with parameters
09484213 fix custom cast template component
0250fcb4 Use MinMax filter to compute histogram parameter for label stats