Show unpublished articles only to proper users

We now show the unpublished articles list only to users who can create
articles.

I also refactored the render utility functions to pull out some common
stuff.