Store the language as a binary in ets

This was breaking pattern matching and never reusing OS processes. The
new hard limit in CouchDB caused the bug to manifest where we'd not seen
it previously.