Use BaseTemplateAfterPortlet hook to add "edit/add links" link.

Depends on I099fb2f in core which is merged.

Bug: 57094
Change-Id: Ib845ca2cc81dd39c18d58b8a9f81a56b00db636b
Merge "Use BaseTemplateAfterPortlet hook to add "edit/add links" link."