Added ability to filter patents before processing on arbitrary predicates.
Added basic patent class and interface to PatentPipeline.