Fixed a dom timing issue with composition complete callbacks.
Merge branch 'master' into test-durandal-update