6909572: Add a new target for building modules
Summary: Add a new "modules" build target that builds jdk and jre module image
Reviewed-by: alanb, ohair
6898747: Allow JNDI cosnaming provider to be used when java.applet is not present
Summary: Check if java.applet.Applet is present before accessing the type
Reviewed-by: alanb, vinnie