add documentation to the patches in http://github.com/resteasy/Resteasy/pull/550