Erik. Added rectangular 3D grid generator with possible periodic boundaries.

Other changes :
1) Fixed bug in grid.h for calculation of cell geometric properties.
2) Fixed bug in kernel.h for calculation of grid geometrics properties.
3) Added test for 3D fully periodic grid.