Add missing use of Filter.appliesTo().

Also fixed CustomFilter's implementation of appliesTo() to account for
autoboxing (i.e. handle primitive fields).
Merge pull request #21 from roadrunner2/filter-applies-to

Add missing use of Filter.appliesTo().