Update respond_to? for Ruby 2.0

Marshal.dump will choke on the attempt to serialize an LDAP::Entry. This change fixes that by updating the signature of respond_to? to Ruby 2.0 level.
Merge pull request #97 from nerab/patch-1

Update respond_to? for Ruby 2.0