[ticket/12177] Add ucp_friend_list_before/after

Add events before and after list of friends in UCP template

PHPBB3-12177