Do not version patches

Simplify the DB schema by removing the `patch_text` table and just having `original_patch` and `applied_patch` fields in `patch_request`. Updating a patch just overwrites the `original_patch` field.

Don't accept this pull request unless the `auth` branch has been merged.