Corrected OpenSearch.
Correctly handle empty page parameter and get certain variables from query for OpenSearch.
Merge pull request #1866 from cmfcmf/opensearch

Corrected OpenSearch.