Move configuration from attributes to a recipe to be able to use bag_config  to override java version and install flavor

@vnivargi

Also submitted to Opscode as https://github.com/opscode-cookbooks/java/pull/96