copy/paste: try to convert geometries

this add a convertToType method in QgsGeometry it tries to transfrom the input geometry to the desired geometry type.

It handles all the possible combinations: (multi)point / (multi)line  / (multi)polygon.

Now, paste action will only paste in the layer if the geometry conversion is successful.

This follows the discussion in #1098.