Consolidating elgg_view_list_item()

Sorry for the bulky pull request. This was something I was working on for a side project, but if you would like any of these pulled, I can split this up and reference in individual tickets.