Initial stab at adding promises to the widget framework.
Fix view rendering order.
Add Promise support to models.