COOK-3488: set alternatives for ibm jdk

Refactored update-alternatives bits out of ark LWRP into a separate LWRP and then reused the new LWRP in ark and ibm recipe.