[Tizen][Runtime] Reconstruct some code on pkg helper.

When update have similar work way, I make some shared function.

And I also make some change on uninstall, so that we can see
the step of uninstall clearly.