Allow passing functions as mutators.
Removed ui module.
Removed ui dependency.
Reversed change events order.
Merge changes from mvc-samples branch.
Branch cleanup and some works on editor lifecycle.