Allow for TPI in pbc=XY

For plain test particle insertion there is no need to limit to
3d-periodic systems. However, on has to be careful with the insertion of
charged molecules because of the electrostatic treatment. For a
Lennard-Jones particle this patch works perfectly fine in combination
with cut-off electrostatics in the rerun.