NEW - Added option $sort_relations_by_restype to group related resources according to resource type, set to false by default. Also added hook relatedresourceaddlink.


git-svn-id: http://svn.montala.net/svn/resourcespace@4650 c08608d7-6e46-0410-86ca-f2a6f1370df5