Add browser action icon states
Created by: marekweb
Implements part of #14203 (closed)
Adds helper for setting the browser action icon based on the state of the browser extension.
Adds three states of the icon: active
, active-with-alert
, inactive
.