Adding bundles logrotate() and prunedir() to COPBL

A separated PR, as asked in https://github.com/cfengine/core/pull/874