Renamed flagEquals to enabledFlags & flagsEqual to enabledFlagsForArray

It's true... coming up with appropriate names in CS is hard.

enabledFlagsForArray is a bit verbose, but at least it's pretty explicit.  Submitting as is unless anybody has another suggestion.