Remove trailing double quotes from maven depdendencies
Escape body content, and avoid template error if body is empty
Don't include content-type header as it's already supplied in request()
Merge pull request #26 from IGZnestorpina/master

Improve java template