Refinement to default sort for public ui

For the public interface only apply a default sort if there is no
query (including advanced queries) and no sort specified. This
addresses the problem of meaningless "unsorted" browse views,
but preserves relevancy as the default sort for queries.
Merge pull request #85 from mark-cooper/refine_public_default_sort

Refinement to default sort for public ui