DOC add links to github sourcecode in API reference
Merge pull request #2777 from jnothman/doc_linkcode

[MRG+2] DOC add links to github sourcecode in API reference