Additional changes from do-not-version-patches branch

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.