update to use jsPsych v3.1

includes some changes to the example code to make use of newer jsPsych
features
Merge remote-tracking branch 'origin/master' into gh-pages