(PUP-2412) Remove 1.8.7 support from functions 4 API

This is clean up and remove Ruby 1.8.7-isms for Puppet 4 that drops the alternative way of handling mapping of Methods to Puppet Functions4 API.