LDAP: also try MS AD's thumbnailPhoto when looking for an avatar image

Tries to  get an avatar image from jpegPhoto (standard), if not tries thumbnailPhoto.

fixes #6541

Please review  @PVince81 @ringmaster @schiesbn or others

Testing appreciated @RainerWP @Lucascamilo @Mehlstaub

cc @ser72