Make opkg wrapper more resilient and some fixes

* opkg wrapper now adds Install command only if it detects that package
  was installed in current run.
* Fix failure when requesting for specific version of package with
  content given in configuration.
* Fix when package was miss reported as having multiple candidates.
* Fix possibility of updater hanging if subprocess of subprocess hanged.