Fixed to work with Puppet 3.1.1

Binary packages were pointed to at `puppet:///modules/jre7...` when it should have been renamed to `puppet:///modules/oraclejre7...` when the Puppet module was renamed.

Additionally, got rid of `in` in favor of a case statement, as well as the guarding `unless` statement (was getting Puppet syntax errors)