add some tooling to logrotate::base to enhance flexibility

added the ability to specify the purge and backup behaviors of /etc/logrotate.d, and parameterized 
the packagename and ensure value of the logrotate package. Tests updated as well