LPS-41939 - Liferay Paginator hides items per page always.

If the number of items per page is bugger than the total number of
items, only pages element should be hidden.
LPS-41939 - Source formatting
LPS-41607 Adds new method to know if we are searching
LPS-41607 Takes into account if we are searching to show the title
LPS-41607 keep deprecated method
LPS-41607 SF