i18n: Show ticket numbers bold when open

Compare the database `state` field rather than the admin editable status
name.
Merge pull request #1384 from greezybacon/issue/1382

i18n: Show ticket numbers bold when open

Reviewed-By: Peter Rotich <peter@osticket.com>