Smart handles(UniqueHandleTemplate and SharedHandleTemplate) now requires an additional handle closer when assigned a handle.

Signed-off-by: LH_Mouse <lh_mouse@126.com>
Merge branch 'master' of github.com:lhmouse/MCF into dev