Rotate log file

Log files are now rotated when reaching 1 MB and keeps 5 old log files.
Move "magic numbers" to `DEFAULTS`
Add specs and work backwards, testing
`shift_size` is now 10 MB (instead of just 1 MB)
Add attribution for @blomma