Modify the Nagios lens to handle resources.cfg too.

Fixes ticket #312
Style fixes for the Nagios lens, and adjust the filter to also parse /etc/nagios/
AptPreferences: Simplify/Standardize the module
AptPreferences: adjust a little bit to simplified lens