Update logrotate to be in line with upstream

There are a few upstream changes that we need.  These two are of specific importance:
* Added prerotate, postrotate and sharedscripts.
* Rotate by size.