Clearer API errors instead of generic 500 responses
When an API request has invalid input, it now returns 422 with an error for each field. When a requested resource does not exist, it now returns 404. Before, both cases returned a generic 500 error. This applies in several areas, including services, firewalls, DNS, wallets and invoices. Deleting a hosting DNS record through the API, which failed in some cases, now works correctly.
