added check for buggy GEBCN in quirks mode, moved definitions to keep them grouped (jdalton)
added check for buggy GEBCN in quirks mode, moved definitions to keep them grouped (jdalton)

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher