sha1 paste

Requires #84.

Fixes #77.

Needs:

```sql
DELIMITER @@

DROP PROCEDURE IF EXISTS paste_get_content_digest@@
CREATE PROCEDURE paste_get_content_digest (
  p_digest BINARY(20),
  OUT p_content MEDIUMBLOB
)
BEGIN
  SELECT content INTO p_content
  FROM paste
  WHERE digest = p_digest;
END;
@@
```