Faris/Akash - #1564 - added pagination to the advanced search page

Conflicts:
	app/models/searchable.rb
#1635 - Kavitha/Suganthi - Added pagination for advanced Search and fixed failing tests