lib: move the `times` method to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: improves usage example of Int::times

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge remote-tracking branch 'alexis/times' into killnitc