Renamed flagEquals to enabledFlags & flagsEqual to enabledFlagsForArray
Merge pull request #951 from Mochaleaf/master

Renamed flagEquals to enabledFlags & flagsEqual to enabledFlagsForArray