fixes #4626 - update Facter calls for 2.0 compatibility
fixes #4643 - Retrieving Optional LDAP attributes fails on 1.8.7
fixes #4314 - ignore default scope ordering on host search by puppet class
fixes #4607 error when running test from ide