hook entity rename code to API PATCH

Fixes #628. flapjack-diner already allows `name` to be sent, and it's already documented as doing so in the API docs, so this is just catching things up.