Renaming in PME-routines

Fixes naming issues in PME-routines by renaming variables
and functions to be more general, and not using names specific
to electrostatics

Fixes #1459

Change-Id: I7abb624b9f3d31e247404007dbe5d9c4e475687e