use Binding#local_variable_set when available

ruby2.1+ or somewhere near there added Binding#local_variable_set.
pry uses it when it's available because it lets pry avoid setting
a temporary thread-local variable for the current pry instance.