Adding facets support
Merge pull request #1 from barbolo/rails_3_1

Adds facets support.