Fix Char comparisons

Fixes evancz/Elm#392
Use instanceof for performance
Further optimizations
Merge pull request #399 from mgold/char-compare

Fix Char comparisons