Merge branch 'new-search' into case-2784

* new-search:
  case 2785 - Hide first/last buttons on first/last pages.
  Hotfix: Fixed errors related to zero results.
  case 2785 - Fix total page count.
case 2784 - Change order of items in search box. Other minor changes.
Merge branch 'case-2784' into new-search

* case-2784:
  case 2784 - Change order of items in search box. Other minor changes.
Merge branch 'new-search' of github.com:artesis/ting_search into new-search

* 'new-search' of github.com:artesis/ting_search:
  Hotfix: Fixed old IE issues with getting attribute.