Implementation of Ramona log file rotation
+ log rotate function generalization

Closes #28