Fix Repository#log pagination and order by date

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>