Ordering for document collections

• Includes branch js-style-guide.  Don't merge until that's merged in.

Implements https://www.pivotaltracker.com/story/show/56772878

Additionally gives bonus functionality of being able to drag-drop documents between groups.

- [x] waiting for amends on js-style-guide branch