add default-error-handler to always return a valid api-response, no matter what

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
use exportAll() to export also relations from the entity

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>