v2.7 launch - WordPress 3.6 revision controls

Tidy code ready for launch, recommit under the right title this time (not WordPress 2.6 - numpty).