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

Tested on CentOS 6.5 x86_64 and Puppet 3.4.3, please disgread the other pull request I made a couple of minutes ago.

Thanks!