Merge pull request #123 from acidmoose/master

Added logcat error message
Merge pull request #117 from acidmoose/replay

This has been pending for too long.  We just have to merge it and exercise the code.
MetadataHandler was missing a flush() after write.

Note: This has the potential to slow down the log server since it
introduces flushing for each metadata entry that gets written, however
I don't think we have any actual choice in the matter: we have to
flush.  If performance issues arise we might have to add cleverness to
this.
Added service prefix to filename in a Slot.