Fix: Use `InvalidMicropubMetadataRequest` instead of `IllegalArgumentException`
As part of #132 (closed), we need to make sure that invalid metadata is handled
correctly, as it was returning a 500, due to nothing being mapped for an
IllegalArgumentException
.
The InvalidMicropubMetadataRequest
is mapped, and semantically makes a
bit more sense. It's an unchecked exception because if it is triggered,
there's nothing that can be done by the caller, as it's a client issue.
Closes #132 (closed).