Durandaljs

Changes from the Durandal rewrite from recent months.