JERSEY-1957: add required copyright header and some missing javadocs