Make element.split case-insensitive as well

I keep finding case-sensitive element tags... we need to follow our own
standards better.