Adding documentation for curved geometries
Make sure we use java 7 also in tests