Stuart Kettlewell has resigned as manager of Motherwell, citing personal abuse from supporters as the catalyst for his exit.