pagerenderer: simplify
pagerenderer: render the mirrorlist page into a buffer before writing it to the socket

This allows to catch possible errors during template generation
and output the proper status code and error message.
pagerenderer: cosmetics, doc