Modify nginx::resource::* to manage different distros

Ciao Alessandro,

The defines in the resource subdir where Debian-specific, and would fail creating proper entries for other distros.

Modified them to manage Debian/RHEL (and probably related distros) configs, and removed some lint messages.