luatools: boolean type i/o support
luatools: use generic operator>>