Add global configuration

Updates the README and adds support for rotation lifecycle (`firstaction`, `prerotate`, `postrotate`, `lastaction`) scripts.