Coding standards
Restores bp_docs_attachment_icon() function
Merge remote-tracking branch 'upstream/1.4.x' into 1.4.x