Implement isValidMode the way it ought to be
Implement isValidMode the way it ought to be

i.e. make sure it handles translation modes as bitmaps where any
combination of valid modes is also valid.

hammera/liblouis,liblouis/liblouis,hammera/liblouis,hammera/liblouis,hammera/liblouis,BueVest/liblouis,hammera/liblouis,BueVest/liblouis,liblouis/liblouis,liblouis/liblouis,BueVest/liblouis,BueVest/liblouis,hammera/liblouis,liblouis/liblouis,liblouis/liblouis,BueVest/liblouis,BueVest/liblouis,liblouis/liblouis