add a function to get previous code
parse more info to _do_coding partial
auto restore previous code in training
fade out button after clicking run
split summary into 2 lines
move js code to trainingsubmission.js
modify code to support mutiple partials
 refine coding style
change hint text
remove index in textarea
remove all indexes
Merge pull request #203 from wangqiang1208/features/auto-save-training

auto restore last attempt training