Function simplification
Added unique_function
Use unique_function to support movable-only arguments
Use unique_function in executors
Merge pull request #1130 from STEllAR-GROUP/unique_function

Unique function