use multiinfo for RPC calls
fixed MakePkgs() build deps order
fixed deps wrongly reordered
fixed broken ReinstallChecks()
fixed deps wrongly compiled when using --needed
fixed broken OutofdateChecks() when using --needed
simplified getjsonvar()
show foreign packages