Extract the coordinate type used by yaspgrid from the coordinate container

This allows to statically switch the ctype by modifying the template
parameter of the container.
[cleanup] remove unnecessary forward declaration
[cleanup] remove redundant template parameters from Ygrid

The coordinate type as well as the dimension are both already
template parameters to the coordinate container. Thus, the template
parameter list of YGrid can be simplified.