LDAP-229: Default DN parser does not handle hash/sharp symbol correctly
Applied patch and added suggested test cases.