[COOK-4175] Allows use of the dateformat parameter.

Add ability to specify dateformat parameter.

[COOK-4175] Allows use of dateformat parameter.
Merge branch 'master' of github.com:ramillim/logrotate