Change contrib link to dev version
Changed PyPI links to better-looking buttons
Added function to get "#source" links to work on index page