Updated REPL to use take! and put! as of JuliaLang/julia:f017133b1

Ref: https://github.com/JuliaLang/julia/commit/f017133b15388caa945162ecd9931c6072470383
This will break compaitibility with 0.2, so we might wait untill 0.3 is
released, before we merge this.
Added compatibility for 0.2 (untested)

As suggested by @timholy
Merge pull request #38 from ivarne/pull-request/e20a421f

Updated REPL to use take! and put! as of JuliaLang/julia:f017133b1