Added support for hierarchical facets in home page and advanced search page. Refactored hierarchical facet functions to a separate helper class and moved settings to a more sensible location in facets.ini.