Make opkg wrapper more resilient
This changes some behavior of opkg wrapper to be more resilient. We only add Install command to configuration if we really installed it and also remove it only if we really removed it. Also we warn if removed package wasn't installed originally using opkg that it might return.