Allow for 2 periodic axes in 3d

Added subclasses of _BasePeriodicGrid3D to describe two dimensions of
periodicity.

re #671

Fix #414

Signed-off-by: Daniel Wheeler <daniel.wheeler2@gmail.com>