enable more warnings

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add script that tests all 2K option combinations (including redundant)

Signed-off-by: Mattias Andrée <maandree@operamail.com>
fix warnings

Signed-off-by: Mattias Andrée <maandree@operamail.com>