Web interface for the log module

I thought it'd be cool to be able to view logs in the web interface.

It took me forever to write, since it's my first piece of C++.