Introduce a common base class for Polymer widgets

TBR: @terrylucas