Handle wrong WADL method spec

WADL spec for template.addPackage is wrong
changed POST to PUT
added path param for packageid
handled the empty respnse body, ant the missing content-type response
header in all 3 parsers