gitserver: Store clone error in database
Created by: ryanslade
When we fail to clone a repo we should store the error in the database. Specifically on sourcegraph.com this will trigger our cleanup job to try and sync the repo with the code host again and will remove repos that no longer exist on the code host.
Test plan
Tested locally and modified unit tests