Make puppetlabs::java optional

The existing implementation assumes that the 'java' puppet class exists, even if you don't want to use it. This change will make it so the 'java' class does not have to exist.

This is a useful feature because in my case my company has our own custom java modules that take care of java installation.

This follow the same structure as jenkins::firewall