wip
Improved Box plug promotion.

Added ability to promote output plugs, and to promote plugs directly to the Box rather than to the user plug. The former is necessary for #262
and the latter provides a starting point for #801.