Julia 0.2 compatibility

As discussed in shashi/Interact.jl#6, I'd like to overload `lift` from PyPlot in order to allow interactive plots, but making PyPlot require React would currently mean breaking compatibility with Julia 0.2, which I'd like to keep for a while.

Fortunately, with a couple of trivial patches to React, it can be made compatible with Julia 0.2.