Restructure HTML for purchase log action links as a list and use dashicons

Relates to issue #1445

Need to check which dashicons maybe be slightly newer ones added in WP 3.9

May need to provide fallbacks for WP 3.8?
Let's use `esc_url()` here.