Update to Sonic-Pi version 2.0

Fix examples where incompatible with latest Sonic-Pi

puts now accepts one arg only so use variable expansion in strings
'with_tempo' now 'use_bpm'
'current_tempo' now 'current_bpm'
'repeat' now 'loop'

Update thread example so use named threads and show how tempo local to thread
  but inherited from global