fix read commit source
print err
fix image display
Merge branch 'master' of github.com:gogits/gogs