Pull request: #1659 #1656 fetching data from the datastore

Also:
- changing Show All link to go to the dataset tab of the search page
- changing template to show pagination
- changing template to show data queried from the datastore