Extract logic for handling custom facts from Ruby 2.x and package it as a gem. The gem name should be `facter-custom-facts`