Improve java template

Fix and improve java template: 
* get(); instead of get
* Avoid passing payload in DELETE method and others even if the API has a body defined, as the body payload it's only allowed in POST and PUT methods in Jersey Client.
* Create entity for POST and PUT even if @body is empty