Merge pull request #1 from chbug/master

General cleanups
Merge pull request #2 from chbug/master

got rid of 2 flex warnings about unused symbols + one const misuse
bump version to 1.2.7
Merge pull request #3 from chbug/master

fixed a regression where field names where not normalized to lowercase
Updated NEWS file for 1.2.7

After fixing some regression let's release version 1.2.7.