JERSEY-1957: add missing copyright headers and some javadocs