Content Views: Worked on filtering

Refactored package filter code and added support for puppet module filtering.