Remove restErrorHandler field in rest service if not necessary

If the interface annotated with `@Rest` doesn't extends `RestClientErrorHandling`, the field `restErrorHandler` won't be assigned and will be always null. So, we shouldn't create it in the generated class and we should remove all the `try-catch`.
That's what does this PR.