Refactor|libdeng2|Action|Counted: Actions are reference counted
Rather than requiring duplication of Action instances, they are now reference counted so they can be conveniently shared between items and widgets, and multiple widgets.
Added more convenience utilities for Counted objects: RefArg and AutoRef. The former takes care of reference passing convention in method arguments while the latter auto-releases a reference after its scope runs out.
Refactor|libdeng2|Action|Counted: Actions are reference counted
Rather than requiring duplication of Action instances, they are now
reference counted so they can be conveniently shared between items
and widgets, and multiple widgets.
Added more convenience utilities for Counted objects: RefArg and
AutoRef. The former takes care of reference passing convention in
method arguments while the latter auto-releases a reference after
its scope runs out.