Make spans resizable.

The implementation is buggy and I've added in the whole of an AMD-enabled
jQuery UI implementation, but snap-to resizing works all right.