Add better formatting of logs

Add better formatting for the logs in the web interface.

Before:
![screen shot 2014-11-20 at 07 55 54](https://cloud.githubusercontent.com/assets/2408/5120903/b694c748-708a-11e4-92b0-f39f4c24a28b.png)

After:
![screen shot 2014-11-20 at 07 56 01](https://cloud.githubusercontent.com/assets/2408/5120907/bb407436-708a-11e4-8556-33a74a3194fc.png)