make sure unprocessed functions get preserved in trial obj
make sure unprocessed functions get preserved in trial obj

related to issue #42
wolfgangwalther/jsPsych,jodeleeuw/jsPsych,jspsych/jsPsych,Scienthusiast/jsPsych,vergenzt/jsPsych,andyh616/jsPsych,jspsych/jsPsych,shamrt/jsPsych,jspsych/jsPsych,wolfgangwalther/jsPsych,erikasf/jsPsych,vergenzt/jsPsych,adrianoesch/jsPsych,jspsych/jsPsych,erikasf/jsPsych,andyh616/jsPsych,shamrt/jsPsych,msrresearch/jsPsych,Scienthusiast/jsPsych,adrianoesch/jsPsych