Convert log data to a textual type for all schemas.

PHP handles the BYTEA (Postgres' BLOB) as a stream, rather than a string. We don't use BLOB anywhere else in our schema and we only ever write textual data to the log, so there's no reason not to change the type.

Should fix habari/habari#527, and closes pull request #42.