escape comments before being classified/trained
add test and fix
Merge pull request #2 from praekelt/feature/fix-encoding-errors

escape comments before being classified/trained