core: Set type and instance name while function creation
core: Set type and instance name while function creation

Change-Id: I32bfb9f7249047b72784706e794cff278d2ad652
Signed-off-by: Krzysztof Opasiak <8064eda6f94b3817252b7d7649cf754592f63500@samsung.com>

gadgetd/gadgetd,gadgetd/gadgetd,gadgetd/gadgetd