add filter and hfilter to directive

implementing issues #688 I take the liberty of updating the host directives to be more consistent and stop using require and hrequire and use instead filter and hfilter ( same result type ) but I don't know if this useful to deprecate require and hrequire method and update the scheme directives which also  use require and hrequire method but the commit is also ready