Bernasocchi's review points addressed

All done apart from details on creating new layers, which were not clear to me and that perhaps are not necessary:
referring to lines where we create a new in-memory layer from scratch, MB's comment was: 
maybe add %s?crs=%s&index=yes&uuid=%s