[task] changed deleteResource() to use Jersey
[fix] added handling of mapping and network errors from jersey