Periodic boundary conditions and PME

Merge of pull requests #34 and #28 

Currently the force computation for electrostatics is missing.