src\.gitignore: ignore java output and mercury.snk
src/charset.m: add is_in_charset/2