add parse_header_links from requests.util
add pagination to gist and repo lists

and simplify the near-identical table listing templates,
since this would have required copying the same content in three templates.
center page links
sort repo list by recent activity

default is alphabetical, which is rarely desirable.
Merge pull request #269 from minrk/pagination

add pagination to gist and repo lists