Fix Marcel's last fix: `kwargs` is undefined in `handle_server_error`
Add a `resource_by_name` utility function (fastest resource lookup with the current dict structure).
Move `_prepare_request` to the regular Resource
Ouch, fix a bad case of night coding.