add new valid() method to $INPUT #667
use new $INPUT->valid() method in feed.php
fixed some test inheriting from the wrong parent
added another test for arrays
Merge pull request #669 from splitbrain/validinputs

#667 - directly get a valid INPUT parameter