more unit tests for the language identifier

Also added a security fix for the CRStreamingServlet and CRServlet