depend: change how tables are processed
depend: change how tables are processed

Instead of accepting an array of packages
as the first argument, accept a table
with the key package(s) and either
a single package name or an array of
package names. Also accept the key
namespace to set the namespace for all
of the package(s).

Change-Id: Ib0db09efe67624a75adcc7eae99e6e289ff9209e
Signed-off-by: Matt Bennett <e3d8681cec70d3da741935b3385821001b249adc@alliedtelesis.co.nz>

ATL-NZ/buildsyspp,alliedtelesis/buildsyspp