makes PE show work again.

PEs do not have a spent_hours method so we need to check for its existance.
As soon as the tree model is the same we can move spent_hours up into work_package.