[fix bug 908667] Add pagination in country listing pages.

*PEP8 beautifications.