Support :if and :unless options for conditional indexing

Allows us to specify whether a specific record should be included in the index. For example, would make sense to *not* index unpublished articles or articles in draft mode in an articles index.