Added a context in the compare function

This will help avoid global variables when integrating with scripting languages

Conflicts:
	servers/slapd/back-mdb/dn2id.c