Feature: Add an install_or_upgrade_gem function

--------------------------------------------------------------------------------
Change-Id:     I283b5c4cf520eab3502bea3f17df4d4982e17ac5
Signed-off-by: Jeff Felchner <accounts+git@thekompanee.com>