Bug 1014219 - [Messages] Consider using real <button>s instead of <a> links for the header icons

Changes made as mentioned in the previous PR.