Potential NPE when request entity is missing for PUT/POST requests

If the request does not contain a body, org.restlet calls the
PUT/POST implementations in ProjectResource etc. with entity
equals null, i.e. just checking entity.isAvailable() leads to
a NPE.

Change-Id: I476c020388440b776a383c42d7f6b5d699fe920d
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
3 files changed