Specify encoding of python source
Don't display more than 10 page links
Add ellipsis when going fast-forward in pagination links