Minor compatibility and sanity check changes

- Don't allow sorting by least-to-most-relevant.
- Don't sort by category position if a category isn't registered.
- Use graceful register() for current layer.
Bootstrap theme compatibiilty changes

- Load collection before trying to get facet data; fixes layered nav on search
  result pages.
- Only use Elasticsearch layered nav classes on search pages, not categories.