Minor fixes.

 - JavaDoc fix (when Java8 is used for building).
 - Added context-param's to ResourceConfig when application with @ApplicationPath is being deployed.

Change-Id: If8276b04688d9d4724c012d108ec944abda2592f
Signed-off-by: Michal Gajdos <michal.gajdos@oracle.com>