Added a test for free functions with an indirect return type.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>