move lots of calculation from view(_participant.html.erb) to model
Merge branch 'rails4' of https://github.com/jessexu20/expertiza into rails4