Master: various fixes

Some stuff I tripped over when building with -Werror, as discussed on IRC:
- don't try to memset() with a float/double
- don't flip size and value in memset() call
- fix a lot of case-insensitive string comparisons (don't use deprecated functions, don't ignore case where this is senseless
- declare an array of const-initialized strings as const