energy/forces and virial.. Major rewriting of the routine and heavy cleaning.. Bug
fix in stress tensor for shell models (was missing the contribution from shell_i//core_i)..
Added two more regtests to check that PBC will be preserved since now on..
Resetted several regtests due to numerics (and to the bug fix for the shell model)
svn-origin-rev: 6124