Content Views: Worked on filtering

Refactored package filter code and added support for puppet module filtering.
Merge pull request #2780 from daviddavis/puppet-filtering

Puppet filtering