OBMFULL-5389 Set resources to NEEDS-ACTION upon drag-n-drop in UI.

Clone of OBMFULL-5342 for qa branch.
OBMFULL-5624 Expose the calendar of a resource as HTML.

As incredible as it may sound, it is actually *possible* to reduce the size of
calendar_query.inc.