generalized splitByFilter to splitByHeader

can now split on any FITS header, not just filter