Fix for php 5.6 rc1: ldap_escape is internal function

new version of php has an internal ldap_escape function. It seems the new function escapes everything rather than just the list of special characters here.