Adding dom helper methods to PropertyPresenter

I want a uniform way of updating the attributes for presentation.

Related to #20