[WIP] Logging to the file system

This incorporates changes made from https://github.com/BBC-News/alephant/pull/18 but fixes the broken tests (it was easier to incorporate into this branch I was already working on).