FIX: Bad highlight of words for some languages.

Lesson learned : `string.toLowerCase()` and `string.toUpperCase()` don't always
have the same length as original `string`...
FIX: Changed glossary highlight style.
FIX: No error message on insrt new work page.

Completes 5cc76c09.
FIX: Bad user info when changing translation metadata.

Some variable closure issue...