Allow for alternatives priority to be set from attribute.

I have a situation where my base VM image already has OpenJDK installed and its alternatives priority is at something higher than 1062. In order for the Java installed by this cookbook to be used I need to increase the alternatives priority which isn't currently possible given that it is hardcoded at 1062. So, this patch makes it so the alternatives priority is configurable via an attribute.