ADDED: facet configuration
REFACTORED: facet retrieval on orm search
ADDED: general fixes