Add discovery-filter.  This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.

Reviewed by:	mav@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Simplify code; no functional changes.

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation