also copy function properties while wrapping function
check if property is specified property of the function before copying
add some tests
Merge pull request #130 from Stereobit/master

Also copy function properties while wrapping function