Updated module to support JDK8, add test file and delete unneeded files

Tested on CentOS 6.5 x86_64 and Puppet 3.4.3