Simplification and unification of function and unique_function
Simplification and unification of function and unique_function -- removal of old sources
Added unique_function public header and manual registration macros
Fix serialization registration issues
Merge pull request #1152 from STEllAR-GROUP/functions_revamp

Functions revamp