Change ::setModel to ::initialize on all element classes
Simplify ViewRegistry::addViewProvider API

It now takes two arguments, a model constructor and a create view
callback that is passed the model.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>