Fixes for -Wconversion

- casting into to char near tolower and constructing chars from ints
- unsigned int foo : 1 for bit flag
- raptor_stringbuffer_length() to unsigned int
Redisable -Wconversion - generated lexer too  noisy