Cleaned up template utilities a bit and switch from string to integer comparison
Added template based reader to read scalar, rgb, or rgba images of any common bitdepth. Tested with scalar and rgb images of 8 bit, 16 bit, and float. Support for vector images (any number of components) has been tentatively coded but requires a bit more testing.