Allow Repl to take env vars

A rough first pass to gather feedback.

Motivation: sometimes jvm arguments just isn't enough. e.g. setting LD_LIBRARY_PATH. I could also immagine other situations.

I'm open to suggestions on style etc