add case-omittable and case-trailing optimizations
add case-omittable and case-trailing optimizations

darcs-hash:15450abdcccd1595019d55cb63ba54bcf6322086

dpwright/jhc,dpwright/jhc,dpwright/jhc,dpwright/jhc