Fix the LegacyFacter::Core::Resolution constructor. In Facter 3.x it doesn't receive the parameters name and fact as it does in Facter 4.x
The custom fact parameter type is not recognised and an exception is thrown.
Also check the rest of the implemented methods.