set the correct java-alternatives name on recent Ubuntus

This only applies to Java 6 OpenJDK packages on Ubuntu 11.10 and 12.04.
run the update-java-alternatives block immediately so the installed java can be used by other recipes

Without :immediately, the chef run crashes later when a subsequent recipe expects a default java to be configured. So the update-java-alternatives block was never being run.
concert platform_version to float before comparison
s/version/jdk_version
Merge pull request #10 from turbovote/fix-cook-885

Fix COOK-885
add test-kitchen support
[COOK-1607] - use shellout

* also fixes glob and consistent log message for glob
release v1.5.4
increment version for development
add check for ubuntu so amz linux 2012.03 doesnt match accidentally
COOK-1631	set JAVA_HOME when using openjdk

This is already done in the oracle cookbook
Merge pull request #16 from bryanwb/COOK-1631

COOK-1631	set JAVA_HOME when using openjdk
consistent quoting
add test-kitchen tests and basic configuration
gitignore temporary emacs files
document option to download directly from Oracle site in README
COOK-1218 allow downloading of oracle jdk directly

use a cookie to download directly
add test-kitchen java_test to properly set attribute
node['java']['oracle']['accept_onerous_download_terms'] = true
Whitespace and formatting, modified EULA attribute

* Use indented block for readme code samples so they show up in
preformatted blocks on community site (we don't do GH style MD yet)
* Change attribute to "oracle" vs "onerous"
Merge branch 'COOK-1218'
missed one replacement