Make custom bitwise operators work, add tests

Fix for munificent/wren#23