Pagetemplate, GalleryItem

GalleryItem deletion now deletes entire row (nicoline)
Pagetemplate improved debug output (difference if 0 or >=2 sub types are
found) (edwin)