Directory unification

Woot, this is a chunky one. Please check if there are any places that I might have missed.

**Don't merge yet**

We need to update `todomvc-common` first, which contains a regular expression checking for the path which no longer matches.