fixes gitlab.com issue #229 - github.com issue #6976

Changes .js.coffe files to not use a hardcoded path to
`no_avatar.png` but instead stick with the asset pipeline.

renames coffee.erb back to coffee

Please note that this PR is a copy of PR #6949 as it now targets master.