added function getPermlink which returns links to GitHub repos and/or files (either raw or html)