Add erlang:list_to_bitstring/1 BIF
Encode large literals as term_to_binary

In generated classes, we now store literals
by serialising them in most cases. This reduces
size of generated code and .class pool size.

Needed for some Elixir classes with huge literals
Add os:putenv/2 BIF
Add lists:mapfoldl/3 BIF

Make it more efficient by iterating rather than
recursing as the lists.erl version does.
Add multiline to special-case Elixir regex code