Make log viewer stuff hookable and add a working template hook for log viewer.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2839 71f96598-fa45-0410-b640-bcd6f8691b32
Add a few comments to the log viewer to make it more easy to use.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2840 71f96598-fa45-0410-b640-bcd6f8691b32