fixes #7756 - render not_found.json.rabl for API errors rather than expose too much internal information

[test] @eLobato, since the `rescue_from ActiveRecord::RecordNotFound` in `base_controller` wasn't called before `FindCommon` was merged, I suggest to stay with the previously error handling format.