[Tizen] Prevent unpacked widget installation

With this patch installer aborts installation when a path
to a widget points to a directory.

BUG=XWALK-2927
Merge pull request #2627 from KFilipek/XWALK-2927

[Tizen] Prevent unpacked widget installation