[Tizen] Installer crashes when path is directory

An uninitialized variable was used in case of installation from directory.
This patch adds a UnpackedWGTPackage class.

BUG=XWALK-2674
It looked like this feature was already implemented, but it didn't work.