COOK-3488: set alternatives for ibm jdk

Resubmitting the request as the code has diverged. Re-factored update-alternatives bits out of ark LWRP into a separate LWRP and then reused the new LWRP in ark and ibm recipe.