add text/html writemime for MethodList and Method (fix #4952)
hopefully more robust way of getting github URL (don't assume module name is Pkg name)
Merge pull request #4991 from stevengj/methodshow

add text/html writemime for MethodList and Method (fix #4952)