Convert some methods to std::lower_bound and std::find_if.
Convert some methods to std::lower_bound and std::find_if.

This CL updates XFA_GetElementTypeForName() to use std::lower_bound instead of
a custom binary search implementation to find the element info.

XFA_GetPropertyOfElement() is changed to use std::find_if. Previously it was
using a custom binary search implementation. Changing this to non-binary search
will allow having the items in g_XFAElementPropertyData be out of XFA_Element
order. There are at most 19 items that need to be searched and often 1 or 2.

Review-Url: https://codereview.chromium.org/2107093004

DrAlexx/pdfium,DrAlexx/pdfium,DrAlexx/pdfium,DrAlexx/pdfium