Fixed bug with negative `all_digits` matching.

Boundary checking test written.
Rotation without config specified is worthless.
Fixed several bugs with file rotation and pattern matching.

Code needs some love now.
Start code review.

Counter class is moved into separate file.
Remove unnecessary method.
Cleaning up includes.
Tiny comment fix.
Exterminating duplicates.
Counter class is now immutable.
Fixed bug with asserting always positive resulted unsigned int.
Fix warning on GCC 4.4.

Also accidentally disabled tests now active again.
Placing `timer_t` in proper namespace.
Fixed bug with extracting char from exhausted iterator.
Massive renaming and decomposition.
Task reordering.