5189 validate_pkg should support mediated links
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
	[illumos-gate merge]

commit 3be32116258babbbdd231a5bba8e6e58e87daa99
    5189 validate_pkg should support mediated links