Refactored ImageMolecules and imageParticles

Now using RealVec and doing modifications in place
Use allPositions instead of xcrd
Use allForces instead of xgrd
v[0] was missing
Fixed 2 bugs in the refactoring
Merge pull request #29 from zonca/refactor_twobody

Refactor twobody